Skip to content

Commit

Permalink
fix: handle empty data versions
Browse files Browse the repository at this point in the history
  • Loading branch information
danellecline committed Jan 22, 2025
1 parent d15f421 commit 2527f4a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions aipipeline/prediction/library.py
Original file line number Diff line number Diff line change
Expand Up @@ -386,10 +386,10 @@ def download(labels: List[str], conf_files: Dict, config_dict: Dict) -> List[str
"--config",
conf_files[CONFIG_KEY],
"--base-path",
processed_data,
"--version",
version,
processed_data
]
if version and len(version) > 0:
args.extend(["--version", version])
args.extend(config_dict["data"]["download_args"])
if labels != "all":
labels_str = ",".join(labels)
Expand Down

0 comments on commit 2527f4a

Please sign in to comment.