提交 b175de02 编写于 作者: rictjo's avatar rictjo

impv 0.92.0

上级 415d097a
......@@ -5,7 +5,7 @@ with open("README.md", "r") as fh:
setuptools.setup(
name = "impetuous-gfa",
version = "0.91.3",
version = "0.92.0",
author = "Richard Tjörnhammar",
author_email = "richard.tjornhammar@gmail.com",
description = "Impetuous Quantification, a Statistical Learning library for Humans : Alignments, Clustering, Fast NodeGraph Searching, Enrichments and Group Analysis",
......
......@@ -303,8 +303,8 @@ class NodeGraph ( Node ) :
PClist = self.linkages_to_pclist ( links )
for pc in PClist :
self.add_ascendant_descendant ( pc[0], pc[1] )
self.set_root_id(self.list_roots()[0] )
self.set_root_id(self.list_roots()[0] )
def distance_matrix_to_pclist ( self , distm:np.array ,
cluster_connections:int = 1 ,
hierarchy_connections:int = 1 ,
......@@ -313,7 +313,7 @@ class NodeGraph ( Node ) :
# FASTER PCLIST CONSTRUCTION ROUTINE
# RETURNS LIST USEFUL FOR HIERARCHY GENERATION
# SHOULD BE EASIER TO PARALLELIZE WITH JIT
# lambda p:set -> bool INVALID SYNTAX #
#
logic = lambda p,c : len(p&c) >= hierarchy_connections and len(p^c)>0
if not bNonRedundant :
logic = lambda p,c : len(p&c) >= hierarchy_connections
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册