Skip to content

Commit

Permalink
Merge pull request #901 from neutrons/fix_texture_UI_warning
Browse files Browse the repository at this point in the history
Fix texture UI warning
  • Loading branch information
fanchercm authored Dec 4, 2024
2 parents bdcb80c + ab5931a commit fbed9ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyrs/interface/texture_fitting/texture_fitting_crtl.py
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ def update_diffraction_view(self, ax_object, fit_summary, sub_run):

# plot fitted data
if fit_summary.fit_table_operator.fit_result is not None:
sub_run_index = int(np.where(self._model.sub_runs == sub_run)[0])
sub_run_index = np.where(self._model.sub_runs == sub_run)[0][0]

fit_data = self.get_fitted_data(sub_run_index,
fit_summary.out_of_plan_angle)
Expand Down

0 comments on commit fbed9ac

Please sign in to comment.