Skip to content

Commit 4b46a8d

Browse files
committed
Add HistWords-CN dataset
1 parent 45b4237 commit 4b46a8d

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

dygetviz/data/dataloader.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,12 @@ def load_data() -> dict:
139139
columns=["summary", "lineage", "gene_type"])
140140

141141

142+
elif args.dataset_name == "HistWords-CN-GNN":
143+
144+
metadata_df = pd.read_csv(
145+
osp.join("data", args.dataset_name, "metadata.csv"))
146+
147+
142148

143149
try:
144150
label2node = {}

dygetviz/plot_dash.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@
215215
},
216216
className="text-center",
217217
),
218-
html.Div("✨: a category. \n\"(1)\": a node label.", id="note"),
218+
# html.Div("✨: a category. \n\"(1)\": a node label.", id="note"),
219219

220220
# Store the nodes in `trajectory_names`
221221
dcc.Store(

0 commit comments

Comments
 (0)