-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add exclude pattern to combining annotations #77
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #77 +/- ##
==========================================
- Coverage 29.81% 29.37% -0.45%
==========================================
Files 6 6
Lines 332 337 +5
==========================================
Hits 99 99
- Misses 233 238 +5 ☔ View full report in Codecov by Sentry. |
2906b99
to
a97e82a
Compare
Obviously, my files are empty so I expect it to fail when opening, but it seems you don't exclude the bad guys...
... am I doing something wrong? |
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.
Looks good, it's possible I just can't get it to work because I'm being dim.
thanks @samcunliffe for having a look! Re the fake jsons test, I reproduced exactly your commands and I got: If you are wondering why the This test in which we copy a sample annotation file should work:
Let me know if you think something should be changed about this. |
Co-authored-by: Sam Cunliffe <[email protected]> Signed-off-by: sfmig <[email protected]>
a969301
to
05b10bf
Compare
Ah right. I assumed you'd filter the files before you opened them. ... but OK. Not a blocker. |
@samcunliffe I do, the error message just shows what you passed as a CLI argument right? |
Ahhh sorry. I'm being slow. So the error is thrown after filtering, before opening the files ✅. But the fact that it threw an error at all makes typer dump the CLI arguments for your information. |
Confirmed that it works with toy Jsons containing actual content. 👍 |
Add option to exclude files from the combination operation.
It allows us to use a regex pattern to exclude annotation files we don't want to be part of the combined annotation file.