sssom-py icon indicating copy to clipboard operation
sssom-py copied to clipboard

Create tool eco-system for validating SSSOM files

Open matentzn opened this issue 3 years ago • 3 comments

SSSOM files are beginning to be produced, but few are correctly formatted. We need to:

  1. Roll out a simple UI on top fastapi app for validating sssom files
  2. Create GH action for validating SSSOM files and share it widely to projects producing sssom files
  3. Improve our tutorial on how to use sssom-py to validate sssom files.

This will probably result in a lot of screams for help, which we will use to improve the tools.

matentzn avatar Nov 27 '22 15:11 matentzn

Can we also have a simple CLI tool like sssom check <myfile.tsv> that assigns a 1-10 rating for the file and returns a failure exit code if not 10? Then we can use it similarly to pyroma

cthoyt avatar Nov 28 '22 11:11 cthoyt

Great idea, we could try to make https://mapping-commons.github.io/sssom/5star-mappings/ actionable as a command. But that is a different issue than this one here.

matentzn avatar Nov 28 '22 11:11 matentzn

Note to self, this is also to advice group that two stuff like this:

https://github.com/TranslatorSRI/babel-validation/blob/16bf2dd2e3f35669156e30167b18cee26e762f21/src/main/scala/org/renci/babel/utils/converter/Converter.scala

matentzn avatar Nov 28 '22 11:11 matentzn