Skip to content

Commit cbd7afa

Browse files
authored
fix method ids (#8)
1 parent b333268 commit cbd7afa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/methods/novel/novel_predict/script.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@
110110
shape=outputs.shape,
111111
uns={
112112
'dataset_id': input_test_mod1.uns['dataset_id'],
113-
'method_id': meta['name'],
113+
'method_id': "novel",
114114
},
115115
)
116116
adata.write_h5ad(par['output'], compression = "gzip")

src/methods/simple_mlp/simple_mlp_predict/script.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ def _predict(model,dl):
104104
shape=y_pred.shape,
105105
uns={
106106
'dataset_id': input_test_mod1.uns['dataset_id'],
107-
'method_id': meta['functionality_name'],
107+
'method_id': "simple_mlp",
108108
},
109109
)
110110

0 commit comments

Comments
 (0)