Skip to content

Handle missing IPTS numbers in configs more gracefully

Duggan, John requested to merge 38-handle-missing-ipts-numbers-from-config into main

Summary of Changes

I've made two changes:

  1. If the IPTS number isn't explicitly declared, I try to load the IPTS number from the data directory field of the config file.
  2. If it can't be loaded from either field, then I show a special error message informing the user to switch to the reduction input tab.

I've tested with the following files:

  1. topaz.missing_ipts.config - This should still load the IPTS number even though that field is missing.
  2. topaz.missing_ipts_and_datadir.config - This should show the new error message since both the IPTS number and data directory fields are missing.

Checklist

  • The MR has a clear and concise title
  • Code is self-documented and follows style guidelines.
  • Automated tests are written and pass successfully.
  • Regression tests (e.g. manually triggered system tests, manual GUI/tool tests, ...) are performed to make sure the MR does not break anything (when applicable)
  • Readme file is present and up-to-date.

Documentation Updates

Additional Notes

Closes #38 (closed)

Merge request reports

Loading