microbiomedata / submission-schema

https://microbiomedata.github.io/submission-schema/
MIT License
1 stars 1 forks source link

Keep the amount of time spent on linkml-run-examples reasonable #50

Closed turbomam closed 1 year ago

turbomam commented 1 year ago

@sujaypatil96 suggested under two minutes

turbomam commented 1 year ago
date ; make examples/output/README.md ; date

Wed Mar 22 07:35:48 PM EDT 2023 mkdir -p examples/output/ poetry run linkml-run-examples \ --output-formats json \ --output-formats yaml \ --counter-example-input-directory src/data/invalid \ --input-directory src/data/valid \ --output-directory examples/output/ \ --schema src/nmdc_submission_schema/schema/nmdc_submission_schema.yaml > examples/output/README.md

Wed Mar 22 07:38:48 PM EDT 2023

Three minutes with a small number of sample data files

turbomam commented 1 year ago

@sujaypatil96: @cmungall suggested that you could take the generation of JsonSchemas out of some inside loop in example_runner.py