Skip to content

Commit

Permalink
Small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
NikoOinonen committed Dec 12, 2023
1 parent a8b9347 commit edf0493
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mlspm/datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ def _common_parent(paths):
p = parts[0]
if all(part == p for part in parts):
common_part /= p
else:
break
return common_part

def download_dataset(name: str, target_dir: PathLike):
Expand Down

0 comments on commit edf0493

Please sign in to comment.