Skip to content

Commit

Permalink
try
Browse files Browse the repository at this point in the history
  • Loading branch information
mattcieslak committed Jan 29, 2025
1 parent 49d9e88 commit 42a894b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cubids/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def load_config(config_file):
dict
The configuration loaded from the YAML file.
"""
if config_file is None:
if not config_file:
config_file = Path(importlib.resources.files("cubids") / "data/config.yml")

with config_file.open() as f:
Expand Down
2 changes: 1 addition & 1 deletion cubids/cubids.py
Original file line number Diff line number Diff line change
Expand Up @@ -1020,7 +1020,7 @@ def get_param_groups_from_entity_set(self, entity_set):
modality = mod.replace("/", "").replace("/", "")

if modality == "":
print("Unusual Modality Detected")
print(f"Unusual Modality Detected: {filepath}")
modality = "other"

ret = _get_param_groups(
Expand Down

0 comments on commit 42a894b

Please sign in to comment.