Skip to content

Commit 202d42d

Browse files
authored
Update extract_orthofinder.py remove a warning with re.findall
1 parent a1dcec3 commit 202d42d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

padmet/utils/connection/extract_orthofinder.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ def dict_data_to_sbml(dict_data, dict_orthogroups=None, dict_orthologues=None, s
399399
ga_for_gbr = re.sub(r" or " , "|", ga)
400400
ga_for_gbr = re.sub(r" and " , "&", ga_for_gbr)
401401
ga_for_gbr = re.sub(r"\s" , "", ga_for_gbr)
402-
if re.findall("\||&", ga_for_gbr):
402+
if re.findall(r"\||&", ga_for_gbr):
403403
to_compare_ga_subsets = list(gbr.compile_input(ga_for_gbr))
404404
else:
405405
ga_for_gbr = re.sub(r"\(|\)" , "", ga_for_gbr)
@@ -460,3 +460,4 @@ def dict_data_to_sbml(dict_data, dict_orthogroups=None, dict_orthologues=None, s
460460
libsbml.writeSBMLToFile(document_to_compare, output)
461461

462462

463+

0 commit comments

Comments
 (0)