Skip to content

Commit

Permalink
Merge pull request #38552 from mantidproject/correct_typo_pearl_trans…
Browse files Browse the repository at this point in the history
…_mode_ws_name

Correct typo in default trans workspace name in pearl powder script
  • Loading branch information
thomashampson authored Jan 3, 2025
2 parents dcefcb8 + eec4665 commit 22bed21
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/Diffraction/isis_powder/pearl.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def _generate_out_file_paths(self, run_details):

def get_trans_module_indices(self):
default_imods = list(range(9)) # all modules 1-9 in transverse banks (tth~90 deg)
default_mod_nums_str = ""
default_mod_nums_str = "1-9"
if self._inst_settings.focus_mode != "trans_custom" or not self._inst_settings.trans_mod_nums:
return default_imods, default_mod_nums_str
mod_nums = common.generate_run_numbers(run_number_string=self._inst_settings.trans_mod_nums)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def test_get_trans_module_indices_focus_mode_trans(self):
imods, mod_nums = inst_obj.get_trans_module_indices()

self.assertListEqual(imods, list(range(9)))
self.assertEqual(mod_nums, "")
self.assertEqual(mod_nums, "1-9")


if __name__ == "__main__":
Expand Down

0 comments on commit 22bed21

Please sign in to comment.