stjames 0.0.106__tar.gz → 0.0.108__tar.gz
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.
Potentially problematic release.
This version of stjames might be problematic. Click here for more details.
- {stjames-0.0.106/stjames.egg-info → stjames-0.0.108}/PKG-INFO +1 -1
- {stjames-0.0.106 → stjames-0.0.108}/pyproject.toml +1 -1
- {stjames-0.0.106 → stjames-0.0.108}/stjames/workflows/pka.py +7 -7
- {stjames-0.0.106 → stjames-0.0.108/stjames.egg-info}/PKG-INFO +1 -1
- {stjames-0.0.106 → stjames-0.0.108}/LICENSE +0 -0
- {stjames-0.0.106 → stjames-0.0.108}/README.md +0 -0
- {stjames-0.0.106 → stjames-0.0.108}/setup.cfg +0 -0
- {stjames-0.0.106 → stjames-0.0.108}/stjames/__init__.py +0 -0
- {stjames-0.0.106 → stjames-0.0.108}/stjames/_deprecated_solvent_settings.py +0 -0
- {stjames-0.0.106 → stjames-0.0.108}/stjames/atom.py +0 -0
- {stjames-0.0.106 → stjames-0.0.108}/stjames/atomium_stjames/__init__.py +0 -0
- {stjames-0.0.106 → stjames-0.0.108}/stjames/atomium_stjames/data.py +0 -0
- {stjames-0.0.106 → stjames-0.0.108}/stjames/atomium_stjames/mmcif.py +0 -0
- {stjames-0.0.106 → stjames-0.0.108}/stjames/atomium_stjames/pdb.py +0 -0
- {stjames-0.0.106 → stjames-0.0.108}/stjames/atomium_stjames/utilities.py +0 -0
- {stjames-0.0.106 → stjames-0.0.108}/stjames/base.py +0 -0
- {stjames-0.0.106 → stjames-0.0.108}/stjames/basis_set.py +0 -0
- {stjames-0.0.106 → stjames-0.0.108}/stjames/calculation.py +0 -0
- {stjames-0.0.106 → stjames-0.0.108}/stjames/compute_settings.py +0 -0
- {stjames-0.0.106 → stjames-0.0.108}/stjames/constraint.py +0 -0
- {stjames-0.0.106 → stjames-0.0.108}/stjames/correction.py +0 -0
- {stjames-0.0.106 → stjames-0.0.108}/stjames/data/__init__.py +0 -0
- {stjames-0.0.106 → stjames-0.0.108}/stjames/data/bragg_radii.json +0 -0
- {stjames-0.0.106 → stjames-0.0.108}/stjames/data/elements.py +0 -0
- {stjames-0.0.106 → stjames-0.0.108}/stjames/data/isotopes.json +0 -0
- {stjames-0.0.106 → stjames-0.0.108}/stjames/data/nist_isotopes.json +0 -0
- {stjames-0.0.106 → stjames-0.0.108}/stjames/data/read_nist_isotopes.py +0 -0
- {stjames-0.0.106 → stjames-0.0.108}/stjames/data/symbol_element.json +0 -0
- {stjames-0.0.106 → stjames-0.0.108}/stjames/engine.py +0 -0
- {stjames-0.0.106 → stjames-0.0.108}/stjames/message.py +0 -0
- {stjames-0.0.106 → stjames-0.0.108}/stjames/method.py +0 -0
- {stjames-0.0.106 → stjames-0.0.108}/stjames/mode.py +0 -0
- {stjames-0.0.106 → stjames-0.0.108}/stjames/molecule.py +0 -0
- {stjames-0.0.106 → stjames-0.0.108}/stjames/opt_settings.py +0 -0
- {stjames-0.0.106 → stjames-0.0.108}/stjames/optimization/__init__.py +0 -0
- {stjames-0.0.106 → stjames-0.0.108}/stjames/optimization/freezing_string_method.py +0 -0
- {stjames-0.0.106 → stjames-0.0.108}/stjames/pdb.py +0 -0
- {stjames-0.0.106 → stjames-0.0.108}/stjames/periodic_cell.py +0 -0
- {stjames-0.0.106 → stjames-0.0.108}/stjames/py.typed +0 -0
- {stjames-0.0.106 → stjames-0.0.108}/stjames/scf_settings.py +0 -0
- {stjames-0.0.106 → stjames-0.0.108}/stjames/settings.py +0 -0
- {stjames-0.0.106 → stjames-0.0.108}/stjames/solvent.py +0 -0
- {stjames-0.0.106 → stjames-0.0.108}/stjames/status.py +0 -0
- {stjames-0.0.106 → stjames-0.0.108}/stjames/task.py +0 -0
- {stjames-0.0.106 → stjames-0.0.108}/stjames/thermochem_settings.py +0 -0
- {stjames-0.0.106 → stjames-0.0.108}/stjames/types.py +0 -0
- {stjames-0.0.106 → stjames-0.0.108}/stjames/workflows/__init__.py +0 -0
- {stjames-0.0.106 → stjames-0.0.108}/stjames/workflows/admet.py +0 -0
- {stjames-0.0.106 → stjames-0.0.108}/stjames/workflows/basic_calculation.py +0 -0
- {stjames-0.0.106 → stjames-0.0.108}/stjames/workflows/bde.py +0 -0
- {stjames-0.0.106 → stjames-0.0.108}/stjames/workflows/conformer.py +0 -0
- {stjames-0.0.106 → stjames-0.0.108}/stjames/workflows/conformer_search.py +0 -0
- {stjames-0.0.106 → stjames-0.0.108}/stjames/workflows/descriptors.py +0 -0
- {stjames-0.0.106 → stjames-0.0.108}/stjames/workflows/docking.py +0 -0
- {stjames-0.0.106 → stjames-0.0.108}/stjames/workflows/double_ended_ts_search.py +0 -0
- {stjames-0.0.106 → stjames-0.0.108}/stjames/workflows/electronic_properties.py +0 -0
- {stjames-0.0.106 → stjames-0.0.108}/stjames/workflows/fukui.py +0 -0
- {stjames-0.0.106 → stjames-0.0.108}/stjames/workflows/hydrogen_bond_basicity.py +0 -0
- {stjames-0.0.106 → stjames-0.0.108}/stjames/workflows/ion_mobility.py +0 -0
- {stjames-0.0.106 → stjames-0.0.108}/stjames/workflows/irc.py +0 -0
- {stjames-0.0.106 → stjames-0.0.108}/stjames/workflows/macropka.py +0 -0
- {stjames-0.0.106 → stjames-0.0.108}/stjames/workflows/molecular_dynamics.py +0 -0
- {stjames-0.0.106 → stjames-0.0.108}/stjames/workflows/multistage_opt.py +0 -0
- {stjames-0.0.106 → stjames-0.0.108}/stjames/workflows/nmr.py +0 -0
- {stjames-0.0.106 → stjames-0.0.108}/stjames/workflows/pose_analysis_md.py +0 -0
- {stjames-0.0.106 → stjames-0.0.108}/stjames/workflows/protein_cofolding.py +0 -0
- {stjames-0.0.106 → stjames-0.0.108}/stjames/workflows/redox_potential.py +0 -0
- {stjames-0.0.106 → stjames-0.0.108}/stjames/workflows/scan.py +0 -0
- {stjames-0.0.106 → stjames-0.0.108}/stjames/workflows/solubility.py +0 -0
- {stjames-0.0.106 → stjames-0.0.108}/stjames/workflows/spin_states.py +0 -0
- {stjames-0.0.106 → stjames-0.0.108}/stjames/workflows/strain.py +0 -0
- {stjames-0.0.106 → stjames-0.0.108}/stjames/workflows/tautomer.py +0 -0
- {stjames-0.0.106 → stjames-0.0.108}/stjames/workflows/workflow.py +0 -0
- {stjames-0.0.106 → stjames-0.0.108}/stjames.egg-info/SOURCES.txt +0 -0
- {stjames-0.0.106 → stjames-0.0.108}/stjames.egg-info/dependency_links.txt +0 -0
- {stjames-0.0.106 → stjames-0.0.108}/stjames.egg-info/requires.txt +0 -0
- {stjames-0.0.106 → stjames-0.0.108}/stjames.egg-info/top_level.txt +0 -0
- {stjames-0.0.106 → stjames-0.0.108}/tests/test_constraints.py +0 -0
- {stjames-0.0.106 → stjames-0.0.108}/tests/test_from_extxyz.py +0 -0
- {stjames-0.0.106 → stjames-0.0.108}/tests/test_molecule.py +0 -0
- {stjames-0.0.106 → stjames-0.0.108}/tests/test_pdb.py +0 -0
- {stjames-0.0.106 → stjames-0.0.108}/tests/test_rounding.py +0 -0
- {stjames-0.0.106 → stjames-0.0.108}/tests/test_settings.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"""pKa workflow."""
|
|
2
2
|
|
|
3
|
-
from typing import Annotated,
|
|
3
|
+
from typing import Annotated, Self
|
|
4
4
|
|
|
5
5
|
from pydantic import AfterValidator, model_validator
|
|
6
6
|
|
|
@@ -33,17 +33,17 @@ class pKaMicrostate(Base):
|
|
|
33
33
|
:param atom_index: index of the atom
|
|
34
34
|
:param smiles: SMILES of the microstate
|
|
35
35
|
:param structures: DBCalculation for the microstate
|
|
36
|
-
:param deltaG: relative free energy
|
|
37
|
-
:param pka: pKa
|
|
38
|
-
:uncertainty: uncertainty
|
|
36
|
+
:param deltaG: relative free energy (where applicable)
|
|
37
|
+
:param pka: pKa value associated with this microstate
|
|
38
|
+
:uncertainty: uncertainty in the pKa prediction
|
|
39
39
|
"""
|
|
40
40
|
|
|
41
41
|
atom_index: int
|
|
42
|
-
smiles:
|
|
42
|
+
smiles: str | None = None
|
|
43
43
|
structures: list[DBCalculation] = []
|
|
44
|
-
deltaG: Annotated[
|
|
44
|
+
deltaG: Annotated[float | None, AfterValidator(round_optional_float(3))] = None
|
|
45
45
|
pka: Annotated[float, AfterValidator(round_float(3))]
|
|
46
|
-
uncertainty: Annotated[
|
|
46
|
+
uncertainty: Annotated[float | None, AfterValidator(round_optional_float(3))] = None
|
|
47
47
|
|
|
48
48
|
|
|
49
49
|
class pKaWorkflow(SMILESWorkflow, MoleculeWorkflow):
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|