Skip to content

Commit

Permalink
Merge pull request datajoint#3 from kushalbakshi/lu-lab
Browse files Browse the repository at this point in the history
Use `output_dir` as Path object in `save_yaml`
  • Loading branch information
ttngu207 authored Aug 14, 2024
2 parents 353315d + 9bd7e19 commit d76ecf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion element_deeplabcut/readers/dlc_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ def save_yaml(
if "config_template" in config_dict: # if passed full model.Model dict
config_dict = config_dict["config_template"]
if mkdir:
output_dir.mkdir(exist_ok=True)
Path(output_dir).mkdir(exist_ok=True)
if "." in filename: # if user provided extension, remove
filename = filename.split(".")[0]

Expand Down

0 comments on commit d76ecf5

Please sign in to comment.