Skip to content

Commit 8108d0d

Browse files
authored
Merge branch 'main' into update-ledidi
2 parents 341f7f1 + e440bfc commit 8108d0d

File tree

6 files changed

+31113
-1
lines changed

6 files changed

+31113
-1
lines changed

AUTHORS.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,5 @@
77
* Jayaram Kancherla <[email protected]>
88
* Ketrin Gjoni <[email protected]>
99
* M. Hasan Celik <[email protected]>
10+
* Carlo de Donno <[email protected]>
11+
* Johannes Hingerl <[email protected]>

src/grelu/design.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ def evolve(
136136
curr_output.loc[curr_best_idxs, "seq"] = convert_input_type(
137137
torch.stack([ds[j] for j in curr_best_idxs]), "strings"
138138
)
139+
curr_output = curr_output.loc[curr_best_idxs]
139140

140141
# Concatenate outputs
141142
outputs = pd.concat([outputs, curr_output])

src/grelu/resources/__init__.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,14 @@ def get_meme_file_path(meme_motif_db: str) -> str:
2828
Returns:
2929
Path to the specified MEME file.
3030
"""
31-
if meme_motif_db == "hocomoco_v12":
31+
if meme_motif_db == "hocomoco_v13":
32+
meme_motif_db = (
33+
importlib_resources.files("grelu")
34+
/ "resources"
35+
/ "meme"
36+
/ "H13CORE_meme_format.meme"
37+
)
38+
elif meme_motif_db == "hocomoco_v12":
3239
meme_motif_db = (
3340
importlib_resources.files("grelu")
3441
/ "resources"

0 commit comments

Comments
 (0)