Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
medema-group
BiG-SCAPE
Commits
766696bb
Commit
766696bb
authored
Sep 03, 2018
by
Jorge Navarro Muñoz
Browse files
Minor bugfix: fixed checking values for GCC calling (thanks to Mohammad Alanjary)
parent
c788dc1f
Changes
1
Hide whitespace changes
Inline
Side-by-side
bigscape.py
View file @
766696bb
...
...
@@ -2071,7 +2071,7 @@ def CMD_parser():
found in the domain_whitelist.txt file"
,
default
=
False
,
action
=
"store_true"
)
parser
.
add_argument
(
"--version"
,
action
=
"version"
,
version
=
"%(prog)s 20180
4
"
)
parser
.
add_argument
(
"--version"
,
action
=
"version"
,
version
=
"%(prog)s 20180
9
"
)
return
parser
.
parse_args
()
...
...
@@ -2161,13 +2161,13 @@ if __name__=="__main__":
# in the cutoffs to do AP in clusterJsonBatch
if
options
.
clans
:
fc
,
cc
=
options
.
clan_cutoff
if
c
not
in
cutoff_list
:
if
f
c
not
in
cutoff_list
:
if
fc
<=
0.0
or
fc
>
1.0
:
sys
.
exit
(
"Error: invalid cutoff value for GCF calling"
)
else
:
cutoff_list
=
sorted
(
cutoff_list
.
append
(
fc
))
if
cc
<=
0.0
or
f
c
>
1.0
:
if
cc
<=
0.0
or
c
c
>
1.0
:
sys
.
exit
(
"Error: invalid cutoff value for GCC calling"
)
...
...
Write
Preview
Supports
Markdown
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