Skip to content

Commit

Permalink
remove unused imports from test config refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
whitews committed Aug 1, 2024
1 parent 7becf4f commit b9ee2b0
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 10 deletions.
2 changes: 1 addition & 1 deletion tests/export_gml_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import numpy as np
import pandas as pd

from flowkit import Sample, Session
from flowkit import Session
from tests.test_config import data1_sample


Expand Down
1 change: 0 additions & 1 deletion tests/gate_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"""

import unittest
import numpy as np

from flowkit import Dimension
from tests.test_config import poly1_gate
Expand Down
12 changes: 8 additions & 4 deletions tests/gating_strategy_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,15 @@
Tests for GatingStrategy Class
"""
import unittest
import numpy as np
import flowkit as fk
from tests.test_config import data1_sample, poly1_vertices, poly1_dims1, poly1_gate, hyperlog_xform_10000__1__4_5__0, logicle_xform_10000__0_5__4_5__0, spill01_fluoros, spill01_detectors, spill01_data, sample_with_spill, comp_matrix_01


from tests.test_config import (
data1_sample,
poly1_gate,
hyperlog_xform_10000__1__4_5__0,
logicle_xform_10000__0_5__4_5__0,
sample_with_spill,
comp_matrix_01
)


class GatingStrategyTestCase(unittest.TestCase):
Expand Down
5 changes: 4 additions & 1 deletion tests/gatingml_tests.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
"""
GatingML tests
"""
import unittest
import glob
import re
import numpy as np
import pandas as pd

from flowkit import Sample, GatingStrategy, Session, parse_gating_xml
from flowkit import GatingStrategy, Session, parse_gating_xml

from tests.test_config import data1_sample

Expand Down
1 change: 0 additions & 1 deletion tests/session_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
Dimension,
gates,
transforms,
load_samples,
generate_transforms,
)
from tests.test_config import (
Expand Down
3 changes: 3 additions & 0 deletions tests/test_config.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
"""
Configuration of test data
"""
import numpy as np
import warnings
import flowkit as fk
Expand Down
2 changes: 1 addition & 1 deletion tests/transform_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import numpy as np
import warnings

from flowkit import Sample, transforms, generate_transforms
from flowkit import transforms, generate_transforms

from tests.test_config import data1_sample, null_chan_sample, test_data_range1

Expand Down
2 changes: 1 addition & 1 deletion tests/workspace_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import os
import pandas as pd
import warnings
from flowkit import Workspace, Sample, load_samples, Matrix, gates, transforms, extract_wsp_sample_data
from flowkit import Workspace, Sample, Matrix, gates, transforms, extract_wsp_sample_data
# noinspection PyProtectedMember
from flowkit._models.transforms._base_transform import Transform
from flowkit.exceptions import GateReferenceError
Expand Down

0 comments on commit b9ee2b0

Please sign in to comment.