Closed mducle closed 3 months ago
4 files ±0 112 suites ±0 4m 45s :stopwatch: - 2m 7s 713 tests ±0 695 :white_check_mark: ±0 18 :zzz: ±0 0 :x: ±0 2 024 runs ±0 1 988 :white_check_mark: ±0 36 :zzz: ±0 0 :x: ±0
Results for commit 4795d097. ± Comparison against base commit 3b929c4a.
:recycle: This comment has been updated with latest results.
Attention: Patch coverage is 40.00000%
with 3 lines
in your changes are missing coverage. Please review.
Project coverage is 42.14%. Comparing base (
3705737
) to head (4795d09
). Report is 1 commits behind head on master.
Files | Patch % | Lines |
---|---|---|
swfiles/sw_plotspec.m | 0.00% | 3 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Now uses the new
matlab2python
script from libpymcr to generate Python wrappers for Matlab code so you don't need to usem.
and so thepydoc
system works.Also fixed some small bugs:
mtimesx
which was confusingmcc
__init__.py
so initialized check is globaladdmatrix
where Python could input an integer vector value breaking the code.sw_plotspec
where handles were unassigned.ctf
for all Matlab found on the system (using libpymcr to find the Matlab installations).plot
,subplot
,[x,y]lim
,[x,y]label
,hold
,gca
,gcf
etc) allowing them to be called without them.
prefix.To test, download the files in this zip: pyspinw4_checks.zip
It has an IPython notebook
spinw_test.ipynb
, a CIF file needed for the notebook and a spinw wheel to install this release. Then create a new conda/mamba environment and run:Then open the
spinw_test.ipynb
file and check that it runs without errors.To compile this release do (from the root folder of the spinw repo)
(to create a wheel use
python -m pip wheel . --no-deps
instead of the last command).