We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8dbd494 commit 5fbd281Copy full SHA for 5fbd281
examples/pangenome/debruijn.py
@@ -13,7 +13,7 @@
13
14
import tqdm
15
16
-from hdlib.graph import Graph
+from hdlib.model import GraphModel
17
18
19
# Path to the mapping genome taxonomic label
@@ -113,7 +113,7 @@
113
start_time = time.time()
114
115
# Define the HD representation of a directed weighted graph
116
-graph = Graph(size=10000, directed=True, seed=0)
+graph = GraphModel(size=10000, directed=True, seed=0)
117
118
print("Train edges {}".format(len(train_edges)))
119
@@ -144,7 +144,7 @@
144
if NPROC > total_test_genomes:
145
NPROC = total_test_genomes
146
147
- if NPROC > os.cpu_count()
+ if NPROC > os.cpu_count():
148
NPROC = os.cpu_count()
149
150
predictions = dict()
0 commit comments