2 parents 475a451 + 5eabab1 commit 7c66e96Copy full SHA for 7c66e96
1 file changed
hexrdgui/indexing/fit_grains_results_dialog.py
@@ -115,6 +115,11 @@ def setup_gui(self):
115
self.update_ranges_gui()
116
self.update_enable_states()
117
118
+ # FIXME: the stress conversion is not right. Hide the
119
+ # conversion options until we fix it.
120
+ self.ui.convert_strain_to_stress.setVisible(False)
121
+ self.ui.export_stresses.setVisible(False)
122
+
123
@property
124
def num_grains(self):
125
return self.data.shape[0]
@@ -134,6 +139,9 @@ def converted_data(self):
134
139
grain[COORDS_SLICE] = (rho, phi, y)
135
140
136
141
if tensor_type == 'stress':
142
+ # FIXME: the below code just isn't right. Raise a
143
+ # NotImplementedError until we fix it.
144
+ raise NotImplementedError
137
145
for grain in data:
138
146
# Convert strain to stress
147
# Multiply last three numbers by factor of 2
0 commit comments