Skip to content

Commit

Permalink
move to same block
Browse files Browse the repository at this point in the history
  • Loading branch information
nikellepetrillo committed Dec 10, 2024
1 parent 1d9c114 commit 0299c9f
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions scripts/firecloud_api/firecloud_api2.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,19 +58,14 @@ def submit_job(self, submission_data_file):
# Check if the submission was created successfully
if response.status_code == 201:
submission_id = response.json().get('submissionId')
print(f"Job submitted successfully. Submission ID: {submission_id}")
print(f"Job submitted successfully. Submission ID is: {submission_id}")
os.environ['SUBMISSION_ID'] = submission_id
return submission_id
else:
print(f"Failed to submit job. Status code: {response.status_code}")
print(f"Response content: {response.text}")
return None

#submission_id = response.json().get("submissionId")
print(f"Job submitted successfully. Submission ID: {submission_id}")
#os.environ['SUBMISSION_ID'] = submission_id
#return submission_id



def upload_test_inputs(self, pipeline_name, test_inputs, branch_name):
"""
Expand Down

0 comments on commit 0299c9f

Please sign in to comment.