File tree Expand file tree Collapse file tree 4 files changed +6
-5
lines changed
Expand file tree Collapse file tree 4 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 33Observes [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) standard and
44[ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) convention.
55
6+ ## [ 0.3.2] - 2024-09-09
7+
8+ + Fix - Save config file to output directory as ` dj_dlc_config `
69
710## [ 0.3.1] - 2024-08-16
811
Original file line number Diff line number Diff line change @@ -784,9 +784,7 @@ def do_analyze_videos():
784784 # ---- Write config files ----
785785 config_filename = f"dj_dlc_config_{ datetime .now (tz = timezone .utc ).strftime ('%Y%m%d_%H%M%S' )} .yaml"
786786 # To output dir: Important for loading/parsing output in datajoint
787- _ = dlc_reader .save_yaml (
788- output_dir , dlc_config , filename = config_filename
789- )
787+ _ = dlc_reader .save_yaml (output_dir , dlc_config )
790788 # To project dir: Required by DLC to run the analyze_videos
791789 if dlc_project_path != output_dir :
792790 config_filepath = dlc_reader .save_yaml (
Original file line number Diff line number Diff line change @@ -238,7 +238,7 @@ def save_yaml(
238238 if "config_template" in config_dict : # if passed full model.Model dict
239239 config_dict = config_dict ["config_template" ]
240240 if mkdir :
241- output_dir .mkdir (exist_ok = True )
241+ Path ( output_dir ) .mkdir (exist_ok = True )
242242 if "." in filename : # if user provided extension, remove
243243 filename = filename .split ("." )[0 ]
244244
Original file line number Diff line number Diff line change 22Package metadata
33"""
44
5- __version__ = "0.3.1 "
5+ __version__ = "0.3.2 "
You can’t perform that action at this time.
0 commit comments