Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
ensembl-gh-mirror
ensembl
Commits
acb922b0
Commit
acb922b0
authored
May 14, 2019
by
Magali Ruffier
Browse files
ENSCORESW-3147
: correctly capture all required fields from file
parent
b687ee4d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
misc-scripts/xref_mapping/XrefParser/RFAMParser.pm
misc-scripts/xref_mapping/XrefParser/RFAMParser.pm
+8
-2
No files found.
misc-scripts/xref_mapping/XrefParser/RFAMParser.pm
View file @
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
";
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment