Skip to content

Commit

Permalink
FIX: Avoid crash diagnostics error when dataset is a dictionary
Browse files Browse the repository at this point in the history
  • Loading branch information
cortadocodes committed Jun 27, 2023
1 parent 6048404 commit 66190af
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions octue/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,9 @@ def _upload_manifest(self, manifest_type, question_diagnostics_path):

# Upload each dataset and update its path in the manifest.
for dataset_name, dataset_path in manifest["datasets"].items():
if not isinstance(dataset_path, str):
continue

new_dataset_path = storage.path.join(
question_diagnostics_path,
f"{manifest_type}_datasets",
Expand Down

0 comments on commit 66190af

Please sign in to comment.