Commit 05518eed authored by Jorge Navarro Muñoz's avatar Jorge Navarro Muñoz
Browse files

domain_whitelist: fixed situation where new line character was added to the pfam id

parent c7aa896d
......@@ -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:
......
Supports Markdown
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