Closed jeandavidt closed 1 year ago
Hey JD - thanks for catching this! This is something that needs to be fixed in the main excel working file, you're right. Are you comfortable fixing this, or would you rather someone else go through using your above list?
I'll go into the Excel file later this morning and let you know when I'm done ^^
It's done ✅
The parts table can be used to assemble the definition of every table in the ODM. This can be done for a given table by:
identifying the parts table columns that have to do with the table we are looking at. For any given table, those'll be:
tableName
tableNameRequired
tableNameOrder
filtering the all parts such that only those with values in ["header", "fK" or "pK"] in the
tableName
column should yield a list of all the columns of tabletableName
. Moreover, the values in thetableNameOrder
should all be between 1 and the number of filtered parts, and the values intableNameOrder
should be unique and monotonically increasing.When I did this on the parts table of release v2.1.0, all tables passed this test, except for the "parts" table itself.
Digging deeper, I found these issues:
partsOrder
value15
is missingpartsOrder
value24
is there twice (protocolStepsRequired
andprotocolRelationshipsRequired
)partsOrder
value46
is missingpartsOrder
value56
is missingpartsOrder
value66
is there twice (translationsOrder
andpartsOrder
)partsOrder
value83
is missing@mathew-thomson @DougManuel should I submit a PR with a new numbering? Or maybe this should be fixed in the main Excel file instead?
Thanks!