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
6a1a6ac1
Commit
6a1a6ac1
authored
Apr 28, 2006
by
Will Spooner
Browse files
Added code to restrict the processing of empty files
parent
ca112c52
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
misc-scripts/xref_mapping/XrefMapper/Methods/ExonerateBasic.pm
...scripts/xref_mapping/XrefMapper/Methods/ExonerateBasic.pm
+1
-1
No files found.
misc-scripts/xref_mapping/XrefMapper/Methods/ExonerateBasic.pm
View file @
6a1a6ac1
...
...
@@ -223,7 +223,7 @@ sub calculate_num_jobs {
my
$bytes_per_job
=
250000
;
my
$size
=
(
stat
$query
)[
7
];
if
(
$size
==
0
){
return
0
}
return
int
(
$size
/
$bytes_per_job
)
||
1
;
}
...
...
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