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

DJORNL parser: more dry_run options #56

Open
ialarmedalien opened this issue Oct 22, 2020 · 0 comments
Open

DJORNL parser: more dry_run options #56

ialarmedalien opened this issue Oct 22, 2020 · 0 comments

Comments

@ialarmedalien
Copy link
Collaborator

  • extend the dry_run option so that it can be called from the command line, e.g.
python -m importers.djornl.parser --dry_run
  • alter the implementation of dry_run so that it prints dataset statistics and a list of errors, rather than dying with a list of errors without reporting stats.

  • print out the stats in a more user-friendly manner

dakotablair added a commit to dakotablair/relation_engine that referenced this issue Oct 27, 2020
This commit adds the --dry-run parameter to validate the input data and print
an output summary even in the presence of errors. To this end, the --output
parameter is also introduced to give an option to display the summary as JSON
or in a more user-friendly text format. The --debug parameter will repeat the
full list of errors when there are any at the end of the run. Errors are now
printed to stderr and may be surpressed using shell redirection.
dakotablair added a commit to dakotablair/relation_engine that referenced this issue Oct 28, 2020
This commit adds the --dry-run parameter to validate the input data and print
an output summary even in the presence of errors. To this end, the --output
parameter is also introduced to give an option to display the summary as JSON
or in a more user-friendly text format. The --debug parameter will repeat the
full list of errors when there are any at the end of the run. Errors are now
printed to stderr and may be surpressed using shell redirection.
dakotablair added a commit to dakotablair/relation_engine that referenced this issue Nov 19, 2020
This commit fixes issue kbase#56 by adding the --dry-run parameter to validate the
input data and print an output summary even in the presence of errors. To this
end, the --output parameter is also introduced to give an option to display the
summary as JSON or in a more user-friendly text format. Data should not be
loaded if there are errors or if this command is invoked with --dry-run.
dakotablair added a commit to dakotablair/relation_engine that referenced this issue Nov 20, 2020
This commit fixes issue kbase#56 by adding the --dry-run parameter to validate the
input data and print an output summary even in the presence of errors. To this
end, the --output parameter is also introduced to give an option to display the
summary as JSON or in a more user-friendly text format. Data should not be
loaded if there are errors or if this command is invoked with --dry-run.
dakotablair added a commit to dakotablair/relation_engine that referenced this issue Nov 20, 2020
This commit fixes issue kbase#56 by adding the --dry-run parameter to validate the
input data and print an output summary even in the presence of errors. To this
end, the --output parameter is also introduced to give an option to display the
summary as JSON or in a more user-friendly text format. Data should not be
loaded if there are errors or if this command is invoked with --dry-run.
dakotablair added a commit to dakotablair/relation_engine that referenced this issue Nov 23, 2020
This commit fixes issue kbase#56 by adding the --dry-run parameter to validate the
input data and print an output summary even in the presence of errors. To this
end, the --output parameter is also introduced to give an option to display the
summary as JSON or in a more user-friendly text format. Data should not be
loaded if there are errors or if this command is invoked with --dry-run.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant