Skip to content

Commit 31eac5b

Browse files
RMichae1Richard Michael
andauthored
255 implement set of dms experiment results as static optimization problems (#300)
* setup GB1 structure * setup TprbB structure * init isolated functions, RasP copy * add GB1 black box and isolation * add TrpB black-box and isolation * add tests DMS repository * add tox, add pytest marker * fix ruff checks import * add imports * bump version DEV * correct load dms and return indexing * correct WT loading with b, dim * fix dms df string indexing * correct test AA override * added poli-dms to tox ini list of envs * make ValueErrors more verbose * cleanup docstring, missing raises * bump version --------- Co-authored-by: Richard Michael <[email protected]>
1 parent a6abbd2 commit 31eac5b

File tree

17 files changed

+309357
-6
lines changed

17 files changed

+309357
-6
lines changed

CITATION.cff

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ authors:
88
- family-names: "Michael"
99
given-names: "Richard"
1010
title: "poli: a libary of discrete sequence objectives"
11-
version: 1.1.1
11+
version: 1.2.0
1212
date-released: 2024-01-23
1313
url: "https://github.com/MachineLearningLifeScience/poli"

pyproject.toml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "poli-core"
7-
version = "1.1.1"
7+
version = "1.2.0"
88
description = "poli, a library of discrete objective functions"
99
readme = "README.md"
1010
authors = [{name="Miguel González-Duque", email="[email protected]"}, {name="Simon Bartels", email="[email protected]"}]
@@ -42,6 +42,9 @@ protein = [
4242
"python-levenshtein",
4343
"pdb-tools",
4444
]
45+
dms = [
46+
"pandas",
47+
]
4548
ehrlich = [
4649
"pytorch-holo",
4750
]
@@ -78,6 +81,7 @@ markers = [
7881
"poli__rmf: marks tests that run in poli__rmf environment",
7982
"poli__rosetta_energy: marks tests that run in poli__rosetta_energy",
8083
"poli__ehrlich_holo: marks tests that run in poli__ehrlich_holo environment",
84+
"poli__dms: marks tests that run in poli__dms environment",
8185
"unmarked: All other tests, which usually run in the base environment",
8286
]
8387

@@ -88,7 +92,7 @@ profile = "black"
8892
exclude = ["src/poli/core/util/proteins/rasp/inner_rasp", "src/poli/objective_repository/gfp_cbas"]
8993

9094
[tool.bumpversion]
91-
current_version = "1.1.1"
95+
current_version = "1.2.0"
9296
parse = """(?x)
9397
(?P<major>0|[1-9]\\d*)\\.
9498
(?P<minor>0|[1-9]\\d*)\\.

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = poli-core
3-
version = "1.1.1"
3+
version = "1.2.0"
44
author = Miguel González-Duque
55
author_email = [email protected]
66
description = A library of discrete objective functions

src/poli/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""poli, a library for discrete black-box objective functions."""
22

3-
__version__ = "1.1.1"
3+
__version__ = "1.2.0"
44
from .core.util.isolation.instancing import instance_function_as_isolated_process
55

66
# from .core import get_problems

src/poli/objective_repository/__init__.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
CelecoxibRediscoveryProblemFactory,
1414
)
1515
from .deco_hop.register import DecoHopBlackBox, DecoHopProblemFactory
16+
from .dms_gb1.register import DMSGB1BlackBox, DMSGB1ProblemFactory
17+
from .dms_trpb.register import DMSTrpBBlackBox, DMSTrpBProblemFactory
1618
from .dockstring.register import DockstringBlackBox, DockstringProblemFactory
1719
from .drd2_docking.register import DRD2BlackBox, DRD2ProblemFactory
1820
from .drd3_docking.register import DRD3BlackBox, DRD3ProblemFactory
@@ -126,6 +128,8 @@
126128
"aloha": AlohaProblemFactory,
127129
"ehrlich": EhrlichProblemFactory,
128130
"ehrlich_holo": EhrlichHoloProblemFactory,
131+
"dms_gb1": DMSGB1ProblemFactory,
132+
"dms_trpb": DMSTrpBProblemFactory,
129133
"dockstring": DockstringProblemFactory,
130134
"drd3_docking": DRD3ProblemFactory,
131135
"foldx_rfp_lambo": FoldXRFPLamboProblemFactory,
@@ -175,6 +179,8 @@
175179
"aloha": AlohaBlackBox,
176180
"ehrlich": EhrlichBlackBox,
177181
"ehrlich_holo": EhrlichHoloBlackBox,
182+
"dms_gb1": DMSGB1BlackBox,
183+
"dms_trpb": DMSTrpBBlackBox,
178184
"dockstring": DockstringBlackBox,
179185
"drd3_docking": DRD3BlackBox,
180186
"foldx_rfp_lambo": FoldXRFPLamboBlackBox,

src/poli/objective_repository/dms_gb1/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)