Commit 58e454fe authored by Kautsar, Satria's avatar Kautsar, Satria
Browse files

Merge branch 'html_visualization' into 'master'

fix newick tree visualization error when GCF == 2 bgcs

See merge request medema-group/BiG-SCAPE!31
parents 171276c4 a1cb6372
......@@ -1521,7 +1521,7 @@ def clusterJsonBatch(bgcs, pathBase, className, matrix, pos_alignments, cutoffs=
exemplar = clusterNames[exemplar_idx]
gcf = familiesDict[exemplar_idx][:]
if len(gcf) < 3:
newick_trees[exemplar_idx] = "({});".format(",".join([str(bgcExt2Int[x])+":0.0" for x in gcf]))
newick_trees[exemplar_idx] = "({}):0.01;".format(",".join([str(bgcExt2Int[x])+":0.0" for x in gcf]))
#print(newick_trees[exemplar_idx])
#TODO make some default alignment data to send to the json file
......
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