Skip to content
Snippets Groups Projects
Commit 11c10a52 authored by Ian Longden's avatar Ian Longden
Browse files

change warning to die as they were not visible enough

parent 6291d3b5
No related branches found
No related tags found
No related merge requests found
......@@ -61,13 +61,13 @@ sub run {
#
if($linearr[0] =~ /GENE_RDB_ID/){
warn ($linearr[0]."!= GENE_RDB_ID is not the first element in the header\n");
die ($linearr[0]."!= GENE_RDB_ID is not the first element in the header\n");
}
if($linearr[1] ne "SYMBOL"){
warn ("SYMBOL is not the second element in the header\n");
die ("SYMBOL is not the second element in the header\n");
}
if($linearr[2] ne "NAME"){
warn ("NAME is not the third element in the header\n");
die ("NAME is not the third element in the header\n");
}
if($linearr[16] ne "GENBANK_NUCLEOTIDE"){
die ("GENBANK_NUCLEOTIDE is not the seventeenth element in the header but ".$linearr[16]." is.\\n");
......
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