Skip to content

Commit

Permalink
Merge pull request #1550 from HEXRD/remove-bin-frames-option
Browse files Browse the repository at this point in the history
Remove bin_frames option for eta omega maps
  • Loading branch information
psavery authored Aug 1, 2023
2 parents 901c920 + 5729a5b commit ebbd675
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 25 deletions.
7 changes: 0 additions & 7 deletions hexrd/ui/indexing/ome_maps_select_dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,6 @@ def threshold(self, v):
if apply_threshold:
self.ui.threshold.setValue(v)

@property
def bin_frames(self):
return self.ui.bin_frames.value()

@property
def material_options(self):
w = self.ui.material
Expand Down Expand Up @@ -148,7 +144,6 @@ def widgets(self):
return [
self.ui.file_name,
self.ui.threshold,
self.ui.bin_frames
]

def update_config(self):
Expand All @@ -158,7 +153,6 @@ def update_config(self):
maps_config['_select_method'] = self.method_name
maps_config['file'] = self.file_name
maps_config['threshold'] = self.threshold
maps_config['bin_frames'] = self.bin_frames

indexing_config['_selected_material'] = self.selected_material

Expand All @@ -174,7 +168,6 @@ def update_gui(self):

self.ui.file_name.setText(file_name)
self.threshold = maps_config['threshold']
self.ui.bin_frames.setValue(maps_config['bin_frames'])

self.selected_material = indexing_config.get('_selected_material')

Expand Down
18 changes: 0 additions & 18 deletions hexrd/ui/resources/ui/ome_maps_select_dialog.ui
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,6 @@
<string>Generate</string>
</attribute>
<layout class="QGridLayout" name="gridLayout">
<item row="5" column="0">
<widget class="QLabel" name="bin_frames_label">
<property name="text">
<string>Bin Frames:</string>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QCheckBox" name="apply_threshold">
<property name="text">
Expand All @@ -81,16 +74,6 @@
</property>
</widget>
</item>
<item row="5" column="1">
<widget class="QSpinBox" name="bin_frames">
<property name="minimum">
<number>1</number>
</property>
<property name="maximum">
<number>1000</number>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="num_hkls_selected">
<property name="text">
Expand Down Expand Up @@ -168,7 +151,6 @@
<tabstop>choose_hkls</tabstop>
<tabstop>apply_threshold</tabstop>
<tabstop>threshold</tabstop>
<tabstop>bin_frames</tabstop>
</tabstops>
<resources/>
<connections>
Expand Down

0 comments on commit ebbd675

Please sign in to comment.