pepkit / eido

Validator for PEP objects
http://eido.databio.org
BSD 2-Clause "Simplified" License
5 stars 5 forks source link

`convert_project` exits program #37

Closed nleroy917 closed 2 years ago

nleroy917 commented 2 years ago

The function definition for convert_project will successfully convert a pep given a valid filter, however it runs a sys.exit(0) which seems like odd behavior. We are utilizing this for the pephub server and it results in server crashes.

Attempts to circumvent this by directly calling run_filter only display the conversion result to stdout, is it possible to return as yaml instead of returning None?

nsheff commented 2 years ago

yeah this should be fixed.