clamsproject / clams-python

CLAMS SDK for python
http://sdk.clams.ai/
Apache License 2.0
4 stars 1 forks source link

releasing 1.1.0 #192

Closed keighrim closed 5 months ago

keighrim commented 5 months ago

Overview

This is a minor-level release that fixes various bugs and adds safeguards for possible inconsistency in output MMIFs.

Additions

provides CLI to rewind a MMIF from a CLAMS pipeline.

MMIF rewinder rewinds a MMIF by deleting the last N views. N can be specified as a number of views, or a number of producer apps.

positional arguments: mmif_file Path to the input MMIF file, or '-' to read from stdin.

optional arguments: -h, --help show this help message and exit -o PATH, --output PATH Path to the rewound MMIF output file. When not given, the rewound MMIF is printed to stdout. -p, --pretty Pretty-print rewound MMIF. True by default -n NUMBER, --number NUMBER Number of views to rewind (default: interactive mode) -m {app,view}, --mode {app,view} Number of views to rewind (default: interactive mode)



### Changes
* pre-built base container images will take less space (https://github.com/clamsproject/clams-python/issues/186)
* apps running in production mode (over gunicorn) now logs to stdout (https://github.com/clamsproject/clams-python/issues/183)
* fixed a bug in app metadata generation (https://github.com/clamsproject/clams-python/issues/187) 
codecov[bot] commented 5 months ago

Codecov Report

Attention: 46 lines in your changes are missing coverage. Please review.

Comparison is base (b45e267) 76.77% compared to head (45ae3b8) 73.69%. Report is 15 commits behind head on main.

Files Patch % Lines
clams/mmif_utils/rewind.py 48.10% 41 Missing :warning:
clams/__init__.py 60.00% 2 Missing :warning:
clams/app/__init__.py 90.90% 2 Missing :warning:
clams/appmetadata/__init__.py 0.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #192 +/- ## ========================================== - Coverage 76.77% 73.69% -3.08% ========================================== Files 7 9 +2 Lines 633 730 +97 ========================================== + Hits 486 538 +52 - Misses 147 192 +45 ``` | [Flag](https://app.codecov.io/gh/clamsproject/clams-python/pull/192/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=clamsproject) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/clamsproject/clams-python/pull/192/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=clamsproject) | `73.69% <59.64%> (-3.08%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=clamsproject#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.