Skip to content

Commit

Permalink
Black formatting (#84)
Browse files Browse the repository at this point in the history
  • Loading branch information
eberrigan authored Aug 26, 2024
1 parent afc4fa4 commit 71442b3
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions tests/test_trait_pipelines.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,17 +152,23 @@ def test_younger_monocot_pipeline(rice_pipeline_output_folder):
assert (
rice_traits["curve_index"].fillna(0) >= 0
).all(), "curve_index in rice_traits contains negative values"
assert rice_traits["curve_index"].fillna(0).max() <= 1, "curve_index in rice_traits contains values greater than 1"
assert (
rice_traits["curve_index"].fillna(0).max() <= 1
), "curve_index in rice_traits contains values greater than 1"
assert (
all_traits["curve_index_median"] >= 0
).all(), "curve_index in all_traits contains negative values"
assert all_traits["curve_index_median"].max() <= 1, "curve_index in all_traits contains values greater than 1"
assert (
all_traits["curve_index_median"].max() <= 1
), "curve_index in all_traits contains values greater than 1"
assert (
all_traits["crown_curve_indices_mean_median"] >= 0
).all(), "crown_curve_indices_mean_median in all_traits contains negative values"
assert (
all_traits["crown_curve_indices_mean_median"] <= 1
).all(), "crown_curve_indices_mean_median in all_traits contains values greater than 1"
).all(), (
"crown_curve_indices_mean_median in all_traits contains values greater than 1"
)
assert (
(0 <= rice_traits["crown_angles_proximal_p95"])
& (rice_traits["crown_angles_proximal_p95"] <= 180)
Expand Down Expand Up @@ -221,7 +227,9 @@ def test_older_monocot_pipeline(rice_10do_pipeline_output_folder):
).all(), "crown_curve_indices_mean_median in all_traits contains negative values"
assert (
all_traits["crown_curve_indices_mean_median"] <= 1
).all(), "crown_curve_indices_mean_median in all_traits contains values greater than 1"
).all(), (
"crown_curve_indices_mean_median in all_traits contains values greater than 1"
)
assert (
(0 <= rice_traits["crown_angles_proximal_p95"])
& (rice_traits["crown_angles_proximal_p95"] <= 180)
Expand Down

0 comments on commit 71442b3

Please sign in to comment.