Skip to content

Commit e28a8b2

Browse files
author
Richard Michael
committed
correct WT loading with b, dim
1 parent 985e427 commit e28a8b2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/poli/objective_repository/dms_gb1/isolated_function.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def __init__(
8888

8989
self.dms_df = self._load_dms_data()
9090

91-
self.x0 = np.array(list(self.dms_df.iloc[self.wt].value))
91+
self.x0 = np.array(list(self.wt))[None,:]
9292

9393
def _load_dms_data(self) -> pd.DataFrame:
9494
return pd.read_csv(THIS_DIR / "assets" / "fitness.csv")

src/poli/objective_repository/dms_trpb/isolated_function.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def __init__(
7777

7878
self.dms_df = self._load_dms_data()
7979

80-
self.x0 = np.array(list(self.dms_df.iloc[self.wt].value))
80+
self.x0 = np.array(list(self.wt))[None,:]
8181

8282
def _load_dms_data(self) -> pd.DataFrame:
8383
return pd.read_csv(THIS_DIR / "assets" / "fitness.csv")

0 commit comments

Comments
 (0)