You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm sorry for bringing this up again, it's about the "uncontrolled" columns (those that do not start with a "!").
If I remember correctly, the parser does not ignore them, but reads them and attaches their content to the data objects as "comments" or extra information. For my own intended usage of ObjTables (for the results of Enzyme Cost Minimisation) it would be important that this information can also be exported again, such that after a round of import and export, the "uncontrolled" columns would still exist. I think this is not the case right now.
Could you implement this?
Thank you!!
Best,
Wolf
The text was updated successfully, but these errors were encountered:
ObjTables ignores this information. Similarly, ObjTables ignores additional worksheets. There isn't a great way to deal with this content for a couple of reasons
ObjTables is oriented around information having a clear semantic meaning, which additional columns and worksheets don't have (at least not which is transparent to the schema).
ObjTables does not directly map spreadsheets to other spreadsheets. The content goes through objects which can also be manipulated programmatically. In this cases, there's no meaningful notion of columns.
Extra columns could be parsed into a attribute, e.g. Model._extra_attrs. To deal with the potential issue that column headings could be empty or repeated, it would have to be a list of tuples of column headings and values of each row. Users of the Python package could easily misuse this. The spreadsheet output would have to try to infer the column headings.
We would have to hack a mechanism to deal with extra workshseets.
In both cases, ObjTables would not reproduce any formatting. This is somewhat intentional so that ObjTables produces "canonically" formatted spreadsheets.
Hi Jonathan,
I'm sorry for bringing this up again, it's about the "uncontrolled" columns (those that do not start with a "!").
If I remember correctly, the parser does not ignore them, but reads them and attaches their content to the data objects as "comments" or extra information. For my own intended usage of ObjTables (for the results of Enzyme Cost Minimisation) it would be important that this information can also be exported again, such that after a round of import and export, the "uncontrolled" columns would still exist. I think this is not the case right now.
Could you implement this?
Thank you!!
Best,
Wolf
The text was updated successfully, but these errors were encountered: