Skip to content

Commit 8d0fce1

Browse files
committed
bug fix on wrong TFBS_conv_1.pt path
bug fix on wrong tfbs code re: #52
1 parent a7f55b7 commit 8d0fce1

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

scprinter/datasets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ def datasets():
115115
"TFBS_model_model1_py.pt": "https://zenodo.org/records/14194242/files/TFBS_model_cluster_I_py.pt",
116116
# Sequence TFBS models:
117117
"TFBS_0_conv_v2.pt": "https://zenodo.org/records/15085406/files/TFBS_0_conv_v2.pt",
118-
"TFBS_1_conv_v2.pt": "https://zenodo.org/records/15085406/files/TFBS_0_conv_v2.pt",
118+
"TFBS_1_conv_v2.pt": "https://zenodo.org/records/15085406/files/TFBS_1_conv_v2.pt",
119119
"Tn5_NN_model_py_v2.pt": "https://zenodo.org/records/15103252/files/Tn5_NN_model_py_v2.pt",
120120
# motif database
121121
"JASPAR2022_core_nonredundant.jaspar": "https://drive.google.com/uc?export=download&id=1YmRZ3sABLJvv9uj40BY97Rdqyodd852P",

scprinter/tools.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2441,12 +2441,12 @@ def seq_tfbs_seq2print(
24412441
numpy_mode=return_adata,
24422442
save_key=save_key,
24432443
)
2444-
seq_attr.append(
2445-
os.path.join(
2446-
f"{model}_{save_key}",
2447-
"model_{lora_id}." + template if id[0] is not None else template,
2444+
seq_attr.append(
2445+
os.path.join(
2446+
f"{model}_{save_key}",
2447+
"model_{lora_id}." + template if id[0] is not None else template,
2448+
)
24482449
)
2449-
)
24502450
else:
24512451
if ".npz" in seq_attr[0]:
24522452
read_numpy = True

0 commit comments

Comments
 (0)