Skip to content
Snippets Groups Projects
Commit 6269b5af authored by Gervaise Henry's avatar Gervaise Henry :cowboy:
Browse files

Fix species error variable

parent 2c368957
2 merge requests!58Develop,!56Resolve "Detect error in inferMetadata for tracking"
Pipeline #8848 failed with stages
in 3 minutes and 33 seconds
...@@ -89,7 +89,7 @@ ...@@ -89,7 +89,7 @@
"processor": "fetch", "processor": "fetch",
"processor_params": { "processor_params": {
"output_path": "assets/Study/{Study_RID}/Experiment/{Experiment_RID}/Replicate/{Replicate_RID}", "output_path": "assets/Study/{Study_RID}/Experiment/{Experiment_RID}/Replicate/{Replicate_RID}",
"query_path": "/attribute/M:=RNASeq:Replicate/RID={rid}/(RID)=(RNASeq:File:Replicate_RID)/url:=URI,length:=File_size,filename:=File_Name,md5:=MD5,Study_RID,Experiment_RID,Replicate_RID?limit=none" "query_path": "/attribute/M:=RNASeq:Replicate/RID={rid}/(RID)=(RNASeq:File:Replicate_RID)/File_Type=FastQ/url:=URI,length:=File_size,filename:=File_Name,md5:=MD5,Study_RID,Experiment_RID,Replicate_RID?limit=none"
} }
} }
] ]
......
...@@ -945,21 +945,21 @@ speciesError_fl.splitCsv(sep: ",", header: false).separate( ...@@ -945,21 +945,21 @@ speciesError_fl.splitCsv(sep: ",", header: false).separate(
) )
// Replicate errors for multiple process inputs // Replicate errors for multiple process inputs
fastqCountError.into { speciesError.into {
fastqCountError_checkMetadata speciesError_checkMetadata
fastqCountError_uploadExecutionRun speciesError_uploadExecutionRun
fastqCountError_getRef speciesError_getRef
fastqCountError_alignData speciesError_alignData
fastqCountError_dedupData speciesError_dedupData
fastqCountError_makeBigWig speciesError_makeBigWig
fastqCountError_countData speciesError_countData
fastqCountError_fastqc speciesError_fastqc
fastqCountError_dataQC speciesError_dataQC
fastqCountError_aggrQC speciesError_aggrQC
fastqCountError_uploadQC speciesError_uploadQC
fastqCountError_uploadProcessedFile speciesError_uploadProcessedFile
fastqCountError_uploadOutputBag speciesError_uploadOutputBag
fastqCountError_failPreExecutionRun speciesError_failPreExecutionRun
} }
/* /*
......
...@@ -10,5 +10,20 @@ then ...@@ -10,5 +10,20 @@ then
done done
elif [ "${3}" == "TEST" ] elif [ "${3}" == "TEST" ]
then then
bdbag --resolve-fetch all --fetch-filter filename\$*.txt ${1} --debug bdbag --materialize ${1} --debug
validateError=true
bdbag --validate full ${1} && validateError=false
if validateError
then
n=0
until [ "${n}" -ge "3" ]
do
bdbag --resolve-fetch missing --validate full ${1} --debug && validateError=false && break
n=$((n+1))
sleep 15
done
fi
if validateError
then
exit 1
fi fi
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment