diff --git a/process/song_get_analysis.nf b/process/song_get_analysis.nf index f3b5d80..213eca6 100644 --- a/process/song_get_analysis.nf +++ b/process/song_get_analysis.nf @@ -27,7 +27,7 @@ process songGetAnalysis { val analysis_id output: - path 'analysis.json', emit: json + path '*.analysis.json', emit: json """ @@ -35,6 +35,6 @@ process songGetAnalysis { 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 """ }