Ignore:
Timestamp:
Jul 20, 2016 10:41:34 AM (8 years ago)
Author:
lewis
Branches:
master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
3ea9371
Parents:
13b9a63
Message:

Move radiation type to required inputs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sasgui/perspectives/file_converter/meta_panels.py

    r55bc56bc r55775e8  
    333333        y += 1 
    334334 
    335         radiation_label = wx.StaticText(self, -1, "Radiation: ") 
    336         input_grid.Add(radiation_label, (y,0), (1,1), wx.ALL, 5) 
    337         radiation_input = wx.ComboBox(self, -1, 
    338             choices=["neutron", "x-ray", "muon", "electron"], 
    339             name="radiation", style=wx.CB_READONLY) 
    340         radiation_input.Bind(wx.EVT_COMBOBOX, self.on_change) 
    341         input_grid.Add(radiation_input, (y,1), (1,1)) 
    342         y += 1 
    343  
    344335        size_label = wx.StaticText(self, -1, "Beam Size (mm): ") 
    345336        input_grid.Add(size_label, (y,0), (1,1), wx.ALL, 5) 
     
    393384        y += 1 
    394385 
    395  
    396386        name_input.SetValue(self.get_property_string("name")) 
    397         radiation_input.SetValue(self.get_property_string("radiation")) 
    398387        size_input.SetValue(self.metadata.beam_size) 
    399388        shape_input.SetValue(self.get_property_string("beam_shape")) 
Note: See TracChangeset for help on using the changeset viewer.