Commit e32b6c67 authored by Thomas Van Parys's avatar Thomas Van Parys
Browse files

Make input data validation more lenient towards CDS and GFF3 (#47)

parent 1210d2b9
......@@ -132,18 +132,12 @@ Channel
}
//Validation
if ( !(specie.plazaId || ( specie.proteome && specie.cds ))){
if (!(specie.plazaId || specie.proteome)){
error(
"$specie.name needs paths to proteome and CDS fasta files, or a valid Plaza ID"
"$specie.name needs path to proteome file or a valid Plaza ID"
)
}
if ( specie.type == 'new ' && !specie.gff3 ){
error(
"New species $specie.name needs a GFF3 annotation file."
)
}
return specie
}
.set { species }
......
Markdown is supported
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