File tree Expand file tree Collapse file tree 3 files changed +9
-8
lines changed
Expand file tree Collapse file tree 3 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 5353 python-version : ${{ matrix.python-version }}
5454 activate-environment : pose2sim
5555
56+ - name : Install OpenSim with conda
57+ shell : bash -l {0}
58+ run : |
59+ conda install -n pose2sim -c conda-forge -c defaults pip
60+ conda install -n pose2sim opensim-org::opensim -y
61+
5662 - name : Cache pip dependencies
5763 uses : actions/cache@v4
5864 with :
6874 conda run -n pose2sim python -m pip install flake8 pytest
6975 conda run -n pose2sim python -m pip install git+https://github.com/${{ github.repository }}.git@${{ github.sha }}
7076
71- - name : Install OpenSim with conda
72- shell : bash -l {0}
73- run : |
74- conda install -n pose2sim -c conda-forge -c defaults pip
75- conda install -n pose2sim opensim-org::opensim -y
76-
7777 - name : Lint with flake8
7878 shell : bash -l {0}
7979 run : |
Original file line number Diff line number Diff line change @@ -166,7 +166,7 @@ def augment_markers_all(config_dict):
166166 large_hip_knee_angles = large_hip_knee_angles ,
167167 trimmed_extrema_percent = trimmed_extrema_percent
168168 )
169- if not np .isfinite (height ):
169+ if np .isfinite (height ):
170170 logging .info (f"Subject height automatically calculated for { os .path .basename (trc_file )} : { round (height ,2 )} m\n " )
171171 else :
172172 logging .warning (f"Could not compute height from { os .path .basename (trc_file )} . Using default height of { default_height } m." )
Original file line number Diff line number Diff line change @@ -34,7 +34,8 @@ classifiers = [
3434urls = {Homepage = " https://github.com/perfanalytics/pose2sim" , "Bug Tracker" = " https://github.com/perfanalytics/pose2sim/issues" }
3535dependencies = [
3636 " toml" ,
37- " numpy" ,
37+ " numpy<2.0; python_version<'3.12'" ,
38+ " numpy>=2.0,<2.3; python_version>='3.12'" ,
3839 " lxml" ,
3940 " matplotlib" ,
4041 " mpl_interactions" ,
You can’t perform that action at this time.
0 commit comments