Skip to content

Commit

Permalink
Merge pull request #11 from icgc-argo/song-get-analysis-fix
Browse files Browse the repository at this point in the history
add analysis_id as prefix for analysis json file
  • Loading branch information
lindaxiang authored Mar 16, 2020
2 parents b45093d + 9867b6d commit 321f611
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions process/song_get_analysis.nf
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ process songGetAnalysis {
val analysis_id

output:
path 'analysis.json', emit: json
path '*.analysis.json', emit: json


"""
export CLIENT_SERVER_URL=${params.song_url}
export CLIENT_ACCESS_TOKEN=${params.api_token}
export CLIENT_STUDY_ID=${study_id}
curl -X GET "${params.song_url}/studies/$study_id/analysis/$analysis_id" -H "accept: */*" > analysis.json
curl -X GET "${params.song_url}/studies/$study_id/analysis/$analysis_id" -H "accept: */*" > ${analysis_id}.analysis.json
"""
}

0 comments on commit 321f611

Please sign in to comment.