Skip to content

Use Pydantic in SANS GUIs

Summary of Changes

I've added Pydantic models for BioSANS & GPSANS and tried to move over all of the existing labels, hints, placeholders, and validation behavior. I've also replaced the old config file format with JSON (mainly for my own sanity when converting things over to the new models).

Here are configs for the instruments that should work with the new version: biosans_config.json gpsans_config.json

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 #58 (closed)

Edited by Duggan, John

Merge request reports

Loading