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

Fix type annotations in swig-wrappers #2344

Merged
merged 4 commits into from
Mar 6, 2024

Conversation

dweindl
Copy link
Member

@dweindl dweindl commented Mar 4, 2024

Depending on swig options/versions, swig may or may not generate type annotations. With these changes, type annotations will be extracted from the docstrings where available, independent of the swig-generated type annotations.

Closes #2336.

Depending on swig options/versions, swig may or may not generate type annotations. With these changes, type annotations will be extracted from the docstrings where available, independent of the swig-generated type annotations.

Closes AMICI-dev#2336.
@dweindl dweindl self-assigned this Mar 4, 2024
@dweindl dweindl marked this pull request as ready for review March 4, 2024 14:54
@dweindl dweindl requested a review from a team as a code owner March 4, 2024 14:54
Copy link

codecov bot commented Mar 4, 2024

Codecov Report

Attention: Patch coverage is 5.00000% with 19 lines in your changes are missing coverage. Please review.

Project coverage is 77.57%. Comparing base (89b00cf) to head (428ddb2).

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #2344      +/-   ##
===========================================
- Coverage    77.70%   77.57%   -0.14%     
===========================================
  Files          324      324              
  Lines        20749    20769      +20     
  Branches      1449     1449              
===========================================
- Hits         16123    16111      -12     
- Misses        4623     4655      +32     
  Partials         3        3              
Flag Coverage Δ
cpp 73.37% <5.00%> (-0.13%) ⬇️
cpp_python 34.26% <5.00%> (-0.03%) ⬇️
petab 36.75% <5.00%> (-0.05%) ⬇️
python 72.17% <5.00%> (-0.13%) ⬇️
sbmlsuite ?

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
python/sdist/amici/swig.py 10.52% <5.00%> (-2.99%) ⬇️

... and 4 files with indirect coverage changes

@dweindl dweindl linked an issue Mar 4, 2024 that may be closed by this pull request
@dweindl dweindl merged commit b8be5a0 into AMICI-dev:develop Mar 6, 2024
18 of 20 checks passed
@dweindl dweindl deleted the fix_2336_annots branch March 6, 2024 07:34
dweindl added a commit to dweindl/AMICI that referenced this pull request Mar 7, 2024
dweindl added a commit to dweindl/AMICI that referenced this pull request Mar 7, 2024
dweindl added a commit that referenced this pull request Mar 7, 2024
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

Successfully merging this pull request may close these issues.

Fix type annotations in swig-wrapper
2 participants