Various DecimalFields in the modal are too mean
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)
-
reporter -
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>>
-
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
#154and partially refs #55.→ <<cset 0bc28a7f44b6>>
-
reporter Increased DecimalFields in Irradiation_event_xray_detector_data, refs
#154. This table is up to date for #55.→ <<cset 4aa64589bc2a>>
-
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>>
-
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
#154and #55.→ <<cset 62d4e20a3d4f>>
-
reporter Added CID references to CT_accumulated_dose_data. Changed CharFields to TextFields and added null=True to each. Refs #55,
#154→ <<cset 52e29bbd56d5>>
-
reporter Increased decimal field for number of irradiations to 16. Refs
#154→ <<cset 9ddffeffdb3b>>
-
reporter Revised DecimalFields refs
#154, added SizeSpecificDoseEstimate table, refs #168. Refs #55.→ <<cset f2e6d3c01fd9>>
-
reporter Modified DecimalField digits, checked against template. Refs #55,
#154→ <<cset 2cc9977a35bc>>
-
reporter Updated DecimalFields in template 10014 Scanning length and reviewed. Refs #55,
#154→ <<cset 467e03cbe3be>>
-
reporter Updated DecimalFields in template 10015. Replaced CharFields with TextFields for the reasons for proceeding. Refs #55,
#154.→ <<cset a82f17bf9996>>
-
reporter Migration of all the non-table-name-change elements. Refs
#172,#62, #55,#154→ <<cset 3852d6411044>>
-
reporter Adding the migration file with the add/delete tables in to use as a basis to create a rename version. Refs
#172,#62, #55,#154.→ <<cset ceb9f748d1d8>>
-
reporter Adding the start of a migration file with rename tables. Refs
#172,#62, #55,#154. Need to remember to deal with foreign keys at the same time→ <<cset 281df1155512>>
-
reporter Added start of a backwards migration. Refs
#172,#62, #55,#154. Need to remember foreign keys→ <<cset 8ce41df46f33>>
-
reporter Adding in the remaining database model changes after the table names have been changed. Refs
#154and others.→ <<cset 1c13c5e8eed5>>
-
reporter - changed status to resolved
All changes now merged and migrated
- Log in to comment
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>>