Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kgx validate -o option writes an empty file, output goes to stderr rather than stdout #435

Open
2 tasks
kevinschaper opened this issue Mar 15, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@kevinschaper
Copy link
Collaborator

It looks like all of the validation output is going to stderr with or without the option specified, but the logging about the action is going to stdout - which is possibly reversed from what I would expect.

kgx validate -i tsv monarch-kg_nodes.tsv monarch-kg_edges.tsv 2> validate.txt
[KGX][__init__.py][    validate_wrapper] ERROR: kgx.validate() errors encountered... check the error log
  • -o should write the validation output
  • without -o specified, the validation output should be captured by > and the logging about the validation process should go to stderr.
@kevinschaper kevinschaper added the bug Something isn't working label Mar 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant