Skip to content

Commit f6fc6f0

Browse files
authored
syntax updates
1 parent bae734d commit f6fc6f0

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

tests/test_data.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import pandas as pd
44
import warnings
55

6-
# Import the class we are testing
76
from fishplotpy.data import FishPlotData
87

98
# --- Basic Valid Data ---
@@ -16,7 +15,7 @@
1615
], columns=VALID_TIMEPOINTS)
1716
VALID_PARENTS = [0, 1, 1]
1817

19-
# --- Test Fixture for Valid Data (Optional but good practice) ---
18+
# --- Test Fixture for Valid Data ---
2019
@pytest.fixture
2120
def valid_input_data():
2221
"""Provides a copy of basic valid input data."""
@@ -227,8 +226,6 @@ def test_get_outer_space(fp_data_for_space_tests):
227226
# Only Clone 1 is root (parent=0).
228227
# Outer space = 100 - fraction(Clone 1)
229228
expected_outer = 100.0 - np.array([100.0, 60.0, 95.0]) # -> [0, 40, 5]
230-
# Calculation happens within layout_clones, but we can call the private method directly for testing
231-
# or check the attribute after layout_clones runs. Let's call layout_clones.
232229
fp_data_for_space_tests.layout_clones()
233230
np.testing.assert_allclose(fp_data_for_space_tests.outer_space, expected_outer, atol=1e-9)
234231

@@ -264,5 +261,5 @@ def test_get_inner_space_no_children():
264261

265262
inner_space_calculated = fp_data.inner_space.astype(float)
266263

267-
# Now compare, check_column_type might not even be needed now
264+
# and compare
268265
pd.testing.assert_frame_equal(inner_space_calculated, expected_inner)

0 commit comments

Comments
 (0)