Skip to content

Commit

Permalink
Fixed bug that disallows sequences with NodeEvolution_None
Browse files Browse the repository at this point in the history
  • Loading branch information
niemasd committed Jul 23, 2021
1 parent f058a85 commit acee242
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion modules/FAVITES_GlobalContext.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import queue as Q

# useful constants
FAVITES_VERSION = "1.2.8"
FAVITES_VERSION = "1.2.9"
C_INT_MAX = 2147483647
CITATION_ART = 'Huang W., Li L., Myers J.R., Marth G.T. (2012). "ART: a next-generation sequencing read simulator". Bioinformatics. 28(4), 593-594.'
CITATION_DENDROPY = 'Sukumaran J., Holder M.T. (2010). "DendroPy: A Python library for phylogenetic computing". Bioinformatics. 26, 1569-1571.'
Expand Down
2 changes: 1 addition & 1 deletion modules/NodeEvolution_None.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def cite():
return GC.CITATION_FAVITES

def init():
assert "SequenceEvolution_NoMutation" in str(MF.modules['SequenceEvolution']) or "SequenceEvolution_NoSeqs" in str(MF.modules['SequenceEvolution']), "Must use SequenceEvolution_NoMutation or SequenceEvolution_NoSeqs module"
pass

def evolve_to_current_time(node, finalize=False):
if node is None:
Expand Down
2 changes: 1 addition & 1 deletion run_favites.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,4 @@ def parseArgs():
parseArgs()

# run Driver
MF.modules['Driver'].run('/'.join(expanduser(abspath(argv[0])).split('/')[:-1]), ORIG_CONFIG)
MF.modules['Driver'].run('/'.join(expanduser(abspath(argv[0])).split('/')[:-1]), ORIG_CONFIG)

0 comments on commit acee242

Please sign in to comment.