Skip to content

Commit dcc1552

Browse files
MuhammedHasanMuhammed Hasan Celik
andauthored
Model versioning (#46)
* versining * versioning new version * fix testcases * fetch metadata data version from model if metadata is not passed and testcase fixes * correct assert and fixes #39 * notebook updates * host config * fix caching names * versining support and dependecny updates * bug fix in metadata callback * modisco version conflict --------- Co-authored-by: Muhammed Hasan Celik <[email protected]>
1 parent 83a718d commit dcc1552

40 files changed

+509
-10967
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,3 +186,4 @@ wandb/
186186
docs/api
187187
docs/tutorials/example
188188
docs/wandb
189+
run_tutorial.s*

docs/tutorials/1-attribution-motif-discovery.ipynb

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@
122122
},
123123
{
124124
"cell_type": "code",
125-
"execution_count": 2,
125+
"execution_count": null,
126126
"metadata": {},
127127
"outputs": [
128128
{
@@ -159,7 +159,7 @@
159159
}
160160
],
161161
"source": [
162-
"! decima attributions --model 0 --genes \"SPI1,BRD3\" --tasks \"cell_type == 'classical monocyte'\" --output-prefix example/output_classical_monoctypes"
162+
"! decima attributions --model v1_rep0 --genes \"SPI1,BRD3\" --tasks \"cell_type == 'classical monocyte'\" --output-prefix example/output_classical_monoctypes"
163163
]
164164
},
165165
{
@@ -311,7 +311,7 @@
311311
},
312312
{
313313
"cell_type": "code",
314-
"execution_count": 8,
314+
"execution_count": null,
315315
"metadata": {},
316316
"outputs": [
317317
{
@@ -338,12 +338,12 @@
338338
}
339339
],
340340
"source": [
341-
"! decima attributions-predict --model 0 --genes \"SPI1,BRD3\" --tasks \"cell_type == 'classical monocyte'\" --output-prefix example/output_classical_monoctypes_0"
341+
"! decima attributions-predict --model v1_rep0 --genes \"SPI1,BRD3\" --tasks \"cell_type == 'classical monocyte'\" --output-prefix example/output_classical_monoctypes_0"
342342
]
343343
},
344344
{
345345
"cell_type": "code",
346-
"execution_count": 9,
346+
"execution_count": null,
347347
"metadata": {},
348348
"outputs": [
349349
{
@@ -370,7 +370,7 @@
370370
}
371371
],
372372
"source": [
373-
"! decima attributions-predict --model 1 --genes \"SPI1,BRD3\" --tasks \"cell_type == 'classical monocyte'\" --output-prefix example/output_classical_monoctypes_1"
373+
"! decima attributions-predict --model v1_rep1 --genes \"SPI1,BRD3\" --tasks \"cell_type == 'classical monocyte'\" --output-prefix example/output_classical_monoctypes_1"
374374
]
375375
},
376376
{
@@ -1005,7 +1005,7 @@
10051005
},
10061006
{
10071007
"cell_type": "code",
1008-
"execution_count": 18,
1008+
"execution_count": null,
10091009
"metadata": {},
10101010
"outputs": [
10111011
{
@@ -1041,7 +1041,7 @@
10411041
}
10421042
],
10431043
"source": [
1044-
"! decima attributions --model 0 --seqs ../tests/data/seqs.fasta --tasks \"cell_type == 'classical monocyte'\" --output-prefix example/output_custom_seqs"
1044+
"! decima attributions --model v1_rep0 --seqs ../tests/data/seqs.fasta --tasks \"cell_type == 'classical monocyte'\" --output-prefix example/output_custom_seqs"
10451045
]
10461046
},
10471047
{

0 commit comments

Comments
 (0)