Skip to content

Commit

Permalink
added noqa to two lines
Browse files Browse the repository at this point in the history
  • Loading branch information
GwydionJon committed Nov 23, 2023
1 parent 5308944 commit d633025
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions organelle_morphology/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def load_metadata(project_path: pathlib.Path) -> tuple[pathlib.Path, dict]:
with open(project_path / "project.json", "r") as f:
data = json.load(f)
if len(data["datasets"]) != 1:
raise ValueError("Only single dataset projects are supported")
raise ValueError("Only single dataset projects are supported") # noqa

Check warning on line 22 in organelle_morphology/project.py

View check run for this annotation

Codecov / codecov/patch

organelle_morphology/project.py#L22

Added line #L22 was not covered by tests

return load_metadata(project_path / data["datasets"][0])

Expand Down Expand Up @@ -140,7 +140,7 @@ def metadata(self):
def clipping(self):
"""The subcube of the original data that we work with"""

raise NotImplementedError
raise NotImplementedError # noqa

Check warning on line 143 in organelle_morphology/project.py

View check run for this annotation

Codecov / codecov/patch

organelle_morphology/project.py#L143

Added line #L143 was not covered by tests

def organelles(
self, ids: str = "*", return_ids: bool = False
Expand Down

0 comments on commit d633025

Please sign in to comment.