Skip to content

Commit

Permalink
Codestyle fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jfoster17 committed Sep 13, 2023
1 parent 26c062a commit a44a27e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion glue/core/regions.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ def layer_to_subset(layer, data_collection):
composite_substate = MultiOrState(roisubstates)

Check warning on line 38 in glue/core/regions.py

View check run for this annotation

Codecov / codecov/patch

glue/core/regions.py#L37-L38

Added lines #L37 - L38 were not covered by tests
else:
composite_substate = roisubstates[0]
_ = data_collection.new_subset_group(subset_state=composite_substate)
_ = data_collection.new_subset_group(subset_state=composite_substate)

Check warning on line 41 in glue/core/regions.py

View check run for this annotation

Codecov / codecov/patch

glue/core/regions.py#L40-L41

Added lines #L40 - L41 were not covered by tests
2 changes: 1 addition & 1 deletion glue/core/tests/test_regiondata.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def test_basic_properties_manual(self):


class TestRegionDataSaveRestore(object):

@pytest.fixture(autouse=True)
def setup_method(self, tmpdir):
app = MockApplication()
Expand Down

0 comments on commit a44a27e

Please sign in to comment.