Skip to content

Commit

Permalink
new outputs for tests, may remove
Browse files Browse the repository at this point in the history
  • Loading branch information
PolarBean committed Oct 23, 2024
1 parent a24b6f8 commit b1a73a1
Show file tree
Hide file tree
Showing 24 changed files with 8,024 additions and 411 deletions.
8 changes: 4 additions & 4 deletions PyNutil/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,10 @@ def __init__(
"settings file must contain segmentation_folder, alignment_json, colour, and atlas_name"
) from exc
# check if any values are None
if None in [segmentation_folder, alignment_json, colour, atlas_name]:
raise ValueError(
"segmentation_folder, alignment_json, colour, and volume_path must all be specified and not be None"
)
# if None in [segmentation_folder, alignment_json, colour, atlas_name]:
# raise ValueError(
# "segmentation_folder, alignment_json, colour, and volume_path must all be specified and not be None"
# )
# if atlas_name not in self.config["annotation_volumes"]:
# raise ValueError(
# f"Atlas {atlas_name} not found in config file, valid atlases are: \n{' , '.join(list(self.config['annotation_volumes'].keys()))}"
Expand Down
Loading

0 comments on commit b1a73a1

Please sign in to comment.