File tree Expand file tree Collapse file tree 4 files changed +7
-3
lines changed Expand file tree Collapse file tree 4 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 12
12
- uses : actions/checkout@v2
13
13
# Similar to MetPy install-conda action
14
14
- name : Set up conda
15
- uses : conda-incubator/setup-miniconda@v2
15
+ uses : conda-incubator/setup-miniconda@v3
16
16
with :
17
17
miniforge-version : latest
18
18
miniforge-variant : mambaforge
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ dependencies:
11
11
- iris
12
12
- xarray
13
13
- cartopy
14
- - trackpy
14
+ - trackpy>=0.6.1
15
15
- pytest
16
16
- typing_extensions
17
17
- black
Original file line number Diff line number Diff line change @@ -8,5 +8,5 @@ matplotlib
8
8
iris
9
9
xarray
10
10
cartopy
11
- trackpy >= 0.6.1
11
+ trackpy
12
12
typing_extensions
Original file line number Diff line number Diff line change @@ -584,6 +584,10 @@ def append_tracks_trackpy(
584
584
If method_linking is neither 'random' nor 'predict'.
585
585
586
586
"""
587
+ if pkgvsn .parse (tp .__version__ ) < pkgvsn .parse ("0.6.0" ):
588
+ raise ValueError (
589
+ "Append Tracking Only Supported with trackpy versions newer than 0.6.0."
590
+ )
587
591
588
592
span : int = 1
589
593
if "cell" not in tracks_orig :
You can’t perform that action at this time.
0 commit comments