Skip to content

Commit 967f29c

Browse files
committed
Whoops!
1 parent f49b312 commit 967f29c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/simbids/utils/bids.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,8 @@ def simulate_dataset(output_dir, yaml_file, zip_level, fill_files=False):
159159

160160
# Load the YAML file from the package resources if it exists there,
161161
# otherwise load it from the local file system
162-
if resources.files('simbids.data').joinpath(yaml_file).exists():
163-
with resources.files('simbids.data').joinpath(yaml_file).open() as f:
162+
if resources.files('simbids/data').joinpath(yaml_file).exists():
163+
with resources.files('simbids/data').joinpath(yaml_file).open() as f:
164164
bids_skeleton = yaml.safe_load(f)
165165
elif Path(yaml_file).exists():
166166
with open(yaml_file) as f:

0 commit comments

Comments
 (0)