Unverified Commit 8fd41aae authored by Tiago Grego's avatar Tiago Grego Committed by GitHub
Browse files

Merge pull request #386 from Ensembl/bugfix/ENSCORESW-3147

ENSCORESW-3147: correctly capture all required fields from file
parents b687ee4d acb922b0
......@@ -141,11 +141,17 @@ sub run_script {
} else {
my $file_io = $self->get_filehandle($file);
if ( !defined $file_io ) {
print "ERROR: Can't open HGNC file $file\n";
print "ERROR: Can't open RFAM file $file\n";
return 1;
}
my $temp_line;
while (my $line = $file_io->getline()) {
push(@lines, $line);
if ($line =~ /\/\//) {
push @lines, $temp_line;
$temp_line = '';
} else {
$temp_line .= $line . "\n";
}
}
}
......
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