Skip to content

Commit 0d10637

Browse files
committed
Moved genome count to a constant
1 parent 2353da6 commit 0d10637

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

helpers/generate_readme.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
from pathlib import Path
66
import pandas as pd
77

8+
TREE_TOOL_TRANSITION_COUNT = 1999 # we used fasttree to generate trees for large genome sets (2000+), otherwise iqtree
89

910
def main(
1011
metadata_table,
@@ -97,7 +98,7 @@ def extract_previous_changelogs(previous_readme):
9798

9899

99100
def get_tree_tool(count):
100-
if count > 1999:
101+
if count > TREE_TOOL_TRANSITION_COUNT:
101102
return "fasttree"
102103
else:
103104
return "iqtree"

0 commit comments

Comments
 (0)