Skip to content

Commit

Permalink
FIX: Get correct path for JSON-encoded datasets in crash diagnostics
Browse files Browse the repository at this point in the history
  • Loading branch information
cortadocodes committed Jun 27, 2023
1 parent 66190af commit f0f64b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions octue/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -457,8 +457,8 @@ 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
if isinstance(dataset_path, dict):
dataset_path = dataset_path["path"]

new_dataset_path = storage.path.join(
question_diagnostics_path,
Expand Down

0 comments on commit f0f64b1

Please sign in to comment.