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
Kautsar, Satria
BiG-SCAPE
Commits
05518eed
Commit
05518eed
authored
May 23, 2018
by
Jorge Navarro Muñoz
Browse files
domain_whitelist: fixed situation where new line character was added to the pfam id
parent
c7aa896d
Changes
1
Hide whitespace changes
Inline
Side-by-side
bigscape.py
View file @
05518eed
...
...
@@ -2230,7 +2230,7 @@ if __name__=="__main__":
for
line
in
open
(
os
.
path
.
join
(
bigscape_path
,
"domain_whitelist.txt"
),
"r"
):
if
line
[
0
]
==
"#"
:
continue
domain_whitelist
.
add
(
line
.
split
(
"
\t
"
)[
0
])
domain_whitelist
.
add
(
line
.
split
(
"
\t
"
)[
0
]
.
strip
()
)
if
len
(
domain_whitelist
)
==
0
:
print
(
"Error: --domain_whitelist used, but no domains found in the file"
)
else
:
...
...
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