KarrLab / obj_tables

Tools for creating and reusing high-quality spreadsheets
https://objtables.org
MIT License
8 stars 2 forks source link

Multiple tables of the same class #146

Closed liebermeister closed 4 years ago

liebermeister commented 4 years ago

Hi Jonathan,

I just tried to import + export (in the web application) an ObjTables data file that contains multiple tables of the same class. I expected these tables to be concatenated, but only the last one of these tables appears in the output file. Can you check this? The files are in https://github.com/liebermeister/sbtab-toolkit/tree/master/schema

SBtab.tsv (schema file) ecoli_noor_2016_ecm_ObjTables_pre.tsv (data file)

Thank you!

Best, Wolf

jonrkarr commented 4 years ago

This was working for multiple CSV/TSV files. I fixed this for a single concatenated file.

Tables of the same class should have the same metadata except for the id attribute. Otherwise, ObjTables won't know how to merge different metadata from multiple instances of the same class of table. This value of the id attribute will be printed back as a comment. I changed this in the attached file.

ecoli_noor_2016_ecm_ObjTables_pre.tsv.zip