Skip to content
This repository was archived by the owner on Jul 28, 2025. It is now read-only.

Commit 169c459

Browse files
Fix: Use absolute paths in the dataset created by the Initialize workflow (#142)
1 parent 16b3f52 commit 169c459

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/morphology_workflows/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def create_dataset_from_dir(dir_path, output_path):
9292

9393
for i in dir_path.iterdir():
9494
if i.suffix.lower() in EXTS:
95-
morph_files.append((i.with_suffix("").name, str(i)))
95+
morph_files.append((i.with_suffix("").name, str(i.resolve())))
9696
else:
9797
L.info("The file '%s' is not detected as a morphology file and is thus discarded", i)
9898
df = pd.DataFrame(morph_files, columns=["morph_name", "morph_path"])

0 commit comments

Comments
 (0)