Various DecimalFields in the modal are too mean

Issue #154 resolved
Ed McDonagh created an issue

For example filter thickness min and max are set to four digits, decimal places 2. So the values 0.098 and 0.102 are both stored as 0.10

Will require a database migration, but that is required for 0.5.1 anyway due to additional grid fields.

Comments (18)

  1. Ed McDonagh reporter

    Going through the models and adding spaces, shortening lines and increasing the size of char and decimal fields to match the standard. Refs #154.

    → <<cset 7bc56b552e97>>

  2. Ed McDonagh reporter

    More space adding, line shortening. Not looked at char and decimal lengths for this section yet. Up to irradiation event xray data. Refs #154

    → <<cset ca3972bbcd36>>

  3. Ed McDonagh reporter

    Increased size of decimals in Calibration and Irradiation_event_xray_data. Supplemented incorrect CharFields with the correct CID versions where necessary. Need to review the extractor code and update accordingly. TODO notes added to them with this commit. Added comments on the CID that corresponds to each code. Refs #154 and partially refs #55.

    → <<cset 0bc28a7f44b6>>

  4. Ed McDonagh reporter

    Added in new fields collimated field height and width. Increased size of decimal fields (refs #154), added a duplicate field to add the cid link and added comments referring to the cid tables. The class Irradiation_event_xray_source_data is now up to date, refs #55

    → <<cset 411db120b14e>>

  5. Ed McDonagh reporter

    Last commit missed the DecimalFields that started all this, the filter thicknesses. Now done, along with the mechanical fields and the dose related distance measurements. Three new measurements added. TID 10003C now up to date. Refs #154 and #55.

    → <<cset 62d4e20a3d4f>>

  6. Log in to comment