Skip to content

Commit 7d711f3

Browse files
authored
Fix/main test analysis version (#28)
* remove type version before upload * update analysis_type to string * satisfying input enum
1 parent 7a63aa2 commit 7d711f3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

main.nf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ process analysisToPayload() {
1414
script:
1515
"""
1616
cat $analysis_json
17-
cat $analysis_json | jq 'del(.analysisId, .analysisState) + {"workflow": {
17+
cat $analysis_json | jq 'del(.analysisId, .analysisState, .analysisType.version) + {"workflow": {
1818
"workflow_name": "nextflow-data-processing-utility-tools",
1919
"workflow_version": "$workflow.revision",
2020
"genome_build": "GRCh38_hla_decoy_ebv",
2121
"run_id": "$workflow.runName",
2222
"session_id": "$workflow.sessionId",
2323
"inputs": [
2424
{
25-
"analysis_type": .analysisType,
25+
"analysis_type": "sequencing_experiment",
2626
"input_analysis_id": .analysisId
2727
}
2828
]

0 commit comments

Comments
 (0)