-
Notifications
You must be signed in to change notification settings - Fork 27
1442: add filetype option to validate type of data #1482
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
Conversation
core.py
Outdated
| help=f"Path to directory containing data files ({VALIDATION_FORMATS_MESSAGE})", | ||
| ) | ||
| @click.option( | ||
| "-filetype", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please make this similar to other flags. full name with '--' and a short with '-'. You can use '-f' and '--filetype'
RamilCDISC
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The PR adds a few flag that lets you control which files engine works on in the selected dataset folder. Not specifying this flag results in previous behaviour of engine.
The validation was done by:
- Reviewing the PR for any unwanted code or logic.
- Reviewing the PR in accordance with AC.
- Ensuring all unit and regression tests pass.
- Ensuring all related testing is updated and new tests are added.
- Running engine locally for manual validation.
- Verifying the edge case of empty directory.
- Verifying the edge case of multiple -ft flags.
- Verifying edge case of invalid file type.
|
@alexfurmenkov , @RamilCDISC , thanks for adding the --filetype flag. I'm testing the last release v0.14.1 on a linux box and so far it works fine. |
No description provided.