Skip to content

Commit

Permalink
Fix linting recommendation
Browse files Browse the repository at this point in the history
  • Loading branch information
pchlap committed Dec 12, 2023
1 parent 1a4b5b3 commit 61702fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pydicer/visualise/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def visualise(self, dataset_name=CONVERTED_DIR_NAME, patient=None, force=True):
patient_logger.eval_module_process("visualise", row.hashed_uid)
logger.debug("Created CT visualisation: %s", vis_filename)

if row.modality == "MR" or row.modality == "PT":
if row.modality in ("MR", "PT"):
img_path = Path(row.path)
vis_filename = img_path.joinpath(f"{row.modality}.png")

Expand Down

0 comments on commit 61702fa

Please sign in to comment.