-
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
Implementation of mmif rewinder #250
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## develop clamsproject/mmif-python#250 +/- ##
===========================================
- Coverage 91.82% 87.07% -4.76%
===========================================
Files 8 9 +1
Lines 1040 1106 +66
===========================================
+ Hits 955 963 +8
- Misses 85 143 +58
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
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.
Overall looks good, and should be functional. But I think the PR can be improved with more polishing and adding unit tests.
- changed rewinder file name taking off mmif_. - changed _delete_last function name to be single underscored. - added CLI argument for number of views to rewind. - changed read_mmif from json.load() -> file.read()
5b75fdf
to
f173a37
Compare
After giving some thought on the right place for the invocation (entrypoint) of the rewinder code, now I think the |
* optimized MMIF file I/O * added rewinding by number of apps (opposed to number of views, not exposed in CLI)
closing without merge as the issue is moved to |
Fixes clamsproject/clams-python#190