Skip to content

Commit

Permalink
Adjust tests for scikit-image changes. (#944)
Browse files Browse the repository at this point in the history
  • Loading branch information
manthey authored Jun 13, 2022
1 parent 9bc7863 commit f737e1d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/test_feature_extraction.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,10 @@ def test_compute_gradient_features(self):
index=False)

test_file = 'Easy1_nuclei_gradient_features.csv'
if packaging.version.parse(skimage.__version__) >= packaging.version.parse('0.19'):
if (
packaging.version.parse(skimage.__version__) >= packaging.version.parse('0.19') and
packaging.version.parse(skimage.__version__) < packaging.version.parse('0.19.3')
):
test_file = 'Easy1_nuclei_gradient_features_v2.csv'
fdata_gtruth = pd.read_csv(
utilities.getTestFilePath(test_file),
Expand Down

0 comments on commit f737e1d

Please sign in to comment.