Skip to content

Commit

Permalink
methoduri
Browse files Browse the repository at this point in the history
  • Loading branch information
nikellepetrillo committed Nov 20, 2024
1 parent 0ff4317 commit d9a21a0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test_illumina_genotyping_array.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ jobs:
--inputs_json "$input_file" \
--update_truth "$UPDATE_TRUTH_BOOL")
echo "Uploading test input file: $test_input_file"
firecloud_action upload_test_inputs --pipeline_name $PIPELINE_NAME --test_input_file "$test_input_file" --branch_name "${{ github.head_ref }}"
echo "Submitting job for input file: $input_file"
Expand Down
7 changes: 7 additions & 0 deletions scripts/firecloud_api/firecloud_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,13 @@ def upload_test_inputs(self, pipeline_name, test_inputs, branch_name):
config["inputs"] = inputs_json

# update the config with the new branch name

# Construct the methodUri with the branch name
base_url = "github.com/broadinstitute/warp/TestIlluminaGenotypingArray"
method_uri = f"dockstore://{quote(base_url)}/{branch_name}"
print(f"Updating methodUri with branch name: {method_uri}")
config["methodRepoMethod"]["methodUri"] = method_uri

print(f"Updating methodVersion with branch name: {branch_name}")
config["methodRepoMethod"]["methodVersion"] = branch_name

Expand Down

0 comments on commit d9a21a0

Please sign in to comment.