KarrLab / obj_tables

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

Parse comments in tabular schema files #150

Closed liebermeister closed 4 years ago

liebermeister commented 4 years ago

Hi Jonathan,

I just tried to put comment lines (with the usual %/ .. /% syntax) into a schema file, in order to visually structure the file. Apparently, comments in schema files are not supported so far. Would it be possible / desirable to allow such comment lines (which the parser could simply ignore), just for convenience?

(This is low priority)

Thank you!

Best, Wolf

jonrkarr commented 4 years ago

This could be added.

I was also thinking of improving the pretty-printing of schemas by highlighting the class rows and adding empty rows above them.

At this point, I'd like to get input from the community to prioritize further efforts.

jonrkarr commented 4 years ago

I changed the parser to skip over comment lines. It was already skipping over empty lines.

jonrkarr commented 4 years ago

I also added an empty line between classes

liebermeister commented 4 years ago

Thank you!