Update deepbind.py
Browse files- deepbind.py +1 -1
deepbind.py
CHANGED
|
@@ -143,7 +143,7 @@ class DeepBind(nn.Module):
|
|
| 143 |
if ID is None:
|
| 144 |
data = SELEX_CONFIG
|
| 145 |
ID = data.loc[sra_id]["ID"]
|
| 146 |
-
file = os.path.join(MODEL_CONFIG['config'][0],
|
| 147 |
keys = [("reverse_complement", lambda x: bool(eval(x))), ("num_detectors", int), ("detector_len", int),
|
| 148 |
("has_avg_pooling", lambda x: bool(eval(x))), ("num_hidden", int)]
|
| 149 |
|
|
|
|
| 143 |
if ID is None:
|
| 144 |
data = SELEX_CONFIG
|
| 145 |
ID = data.loc[sra_id]["ID"]
|
| 146 |
+
file = os.path.join(MODEL_CONFIG['config'][0], f"{ID}.txt")
|
| 147 |
keys = [("reverse_complement", lambda x: bool(eval(x))), ("num_detectors", int), ("detector_len", int),
|
| 148 |
("has_avg_pooling", lambda x: bool(eval(x))), ("num_hidden", int)]
|
| 149 |
|