rowan-python 2.1.3__py3-none-any.whl → 2.1.4__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- rowan/workflow.py +7 -1
- {rowan_python-2.1.3.dist-info → rowan_python-2.1.4.dist-info}/METADATA +1 -1
- {rowan_python-2.1.3.dist-info → rowan_python-2.1.4.dist-info}/RECORD +5 -5
- {rowan_python-2.1.3.dist-info → rowan_python-2.1.4.dist-info}/WHEEL +0 -0
- {rowan_python-2.1.3.dist-info → rowan_python-2.1.4.dist-info}/licenses/LICENSE +0 -0
rowan/workflow.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import time
|
|
2
2
|
from datetime import datetime
|
|
3
|
-
from typing import Any, Self, TypeAlias
|
|
3
|
+
from typing import Any, Literal, Self, TypeAlias
|
|
4
4
|
|
|
5
5
|
import stjames
|
|
6
6
|
from pydantic import BaseModel, Field
|
|
@@ -493,6 +493,7 @@ def submit_conformer_search_workflow(
|
|
|
493
493
|
|
|
494
494
|
def submit_solubility_workflow(
|
|
495
495
|
initial_smiles: str,
|
|
496
|
+
solubility_method: Literal["fastsolv", "kingfisher", "esol"] = "fastsolv",
|
|
496
497
|
solvents: list[str] | None = None,
|
|
497
498
|
temperatures: list[float] | None = None,
|
|
498
499
|
name: str = "Solubility Workflow",
|
|
@@ -502,6 +503,7 @@ def submit_solubility_workflow(
|
|
|
502
503
|
"""
|
|
503
504
|
Submits a solubility workflow to the API.
|
|
504
505
|
|
|
506
|
+
:param solubility_method: The name of the desired model for solubility prediction.
|
|
505
507
|
:param initial_smiles: The smiles of the molecule to calculate the solubility of.
|
|
506
508
|
:param solvents: The list of solvents to use for the calculation.
|
|
507
509
|
:param temperatures: The list of temperatures to use for the calculation.
|
|
@@ -520,6 +522,7 @@ def submit_solubility_workflow(
|
|
|
520
522
|
|
|
521
523
|
workflow = stjames.SolubilityWorkflow(
|
|
522
524
|
initial_smiles=initial_smiles,
|
|
525
|
+
solubility_method=solubility_method,
|
|
523
526
|
solvents=solvents,
|
|
524
527
|
temperatures=temperatures,
|
|
525
528
|
)
|
|
@@ -857,6 +860,7 @@ def submit_macropka_workflow(
|
|
|
857
860
|
max_pH: int = 14,
|
|
858
861
|
min_charge: int = -2,
|
|
859
862
|
max_charge: int = 2,
|
|
863
|
+
compute_aqueous_solubility: bool = False,
|
|
860
864
|
compute_solvation_energy: bool = True,
|
|
861
865
|
name: str = "Macropka Workflow",
|
|
862
866
|
folder_uuid: str | None = None,
|
|
@@ -870,6 +874,7 @@ def submit_macropka_workflow(
|
|
|
870
874
|
:param max_pH: The maximum pH to use in the macropka workflow.
|
|
871
875
|
:param min_charge: The minimum charge to use in the macropka workflow.
|
|
872
876
|
:param max_charge: The maximum charge to use in the macropka workflow.
|
|
877
|
+
:param compute_aqueous_solubility: Whether to compute the aqueous solubility for each pH.
|
|
873
878
|
:param compute_solvation_energy: Whether to compute the solvation energy.
|
|
874
879
|
:param name: The name of the workflow.
|
|
875
880
|
:param folder_uuid: The UUID of the folder to store the workflow in.
|
|
@@ -885,6 +890,7 @@ def submit_macropka_workflow(
|
|
|
885
890
|
min_charge=min_charge,
|
|
886
891
|
max_charge=max_charge,
|
|
887
892
|
compute_solvation_energy=compute_solvation_energy,
|
|
893
|
+
compute_aqueous_solubility=compute_aqueous_solubility,
|
|
888
894
|
)
|
|
889
895
|
|
|
890
896
|
data = {
|
|
@@ -6,10 +6,10 @@ rowan/protein.py,sha256=bMemvLZua_pnTrYOxHFZ4jFlRH9KgpYvtjj5M2__28k,8026
|
|
|
6
6
|
rowan/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
7
7
|
rowan/user.py,sha256=Dl--NPUPATKCs2VmILsW8HnLiunG0Lxr0n6mKuHm21U,3891
|
|
8
8
|
rowan/utils.py,sha256=907lV0fEP6BnjOWyisd3Uh8Mk5JuQMOX9QEjGi_mdew,3314
|
|
9
|
-
rowan/workflow.py,sha256=
|
|
9
|
+
rowan/workflow.py,sha256=uFgI-yTSHW6JY5KulpnGPdM3Xrl0UGYtne9OnDIkzz8,40729
|
|
10
10
|
rowan/rowan_rdkit/__init__.py,sha256=EATX2VRzywzKxqkpCUMTf7RNQLkWsfi5VcCNDW6EIiw,503
|
|
11
11
|
rowan/rowan_rdkit/chem_utils.py,sha256=i7-EmAcmvHYtc9NiZblLY_k2DoQKofAZo5KT2qtkUCI,34775
|
|
12
|
-
rowan_python-2.1.
|
|
13
|
-
rowan_python-2.1.
|
|
14
|
-
rowan_python-2.1.
|
|
15
|
-
rowan_python-2.1.
|
|
12
|
+
rowan_python-2.1.4.dist-info/METADATA,sha256=PJ8hu2ynkYFAQ1hpyKwE0nlKfmtQcAWCQf61NOIkoPU,1598
|
|
13
|
+
rowan_python-2.1.4.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
14
|
+
rowan_python-2.1.4.dist-info/licenses/LICENSE,sha256=i05z7xEhyrg6f8j0lR3XYjShnF-MJGFQ-DnpsZ8yiVI,1084
|
|
15
|
+
rowan_python-2.1.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|