Skip to content

Commit

Permalink
Fix Receipt generation
Browse files Browse the repository at this point in the history
  • Loading branch information
kdp-cloud committed Nov 7, 2024
1 parent 556033c commit 8b24e67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mars-cli/mars_lib/submit.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def submission(
f"Submission to {TargetRepository.ENA} was successful. Result:\n{ena_result.json()}"
)
# Update `isa_json`, based on the receipt returned
ena_mars_receipt = RepositoryResponse.from_json(str(ena_result.content))
ena_mars_receipt = RepositoryResponse.model_validate(json.loads(ena_result.content))
isa_json = update_isa_json(isa_json, ena_mars_receipt)
if DEBUG:
save_step_to_file(time_stamp, "2_after_ena", isa_json)
Expand Down

0 comments on commit 8b24e67

Please sign in to comment.