stjames 0.0.27__tar.gz → 0.0.28__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.27/stjames.egg-info → stjames-0.0.28}/PKG-INFO +1 -1
- {stjames-0.0.27 → stjames-0.0.28}/pyproject.toml +1 -1
- {stjames-0.0.27 → stjames-0.0.28}/stjames/molecule.py +4 -4
- {stjames-0.0.27 → stjames-0.0.28}/stjames/settings.py +1 -1
- {stjames-0.0.27 → stjames-0.0.28/stjames.egg-info}/PKG-INFO +1 -1
- {stjames-0.0.27 → stjames-0.0.28}/LICENSE +0 -0
- {stjames-0.0.27 → stjames-0.0.28}/README.md +0 -0
- {stjames-0.0.27 → stjames-0.0.28}/setup.cfg +0 -0
- {stjames-0.0.27 → stjames-0.0.28}/stjames/__init__.py +0 -0
- {stjames-0.0.27 → stjames-0.0.28}/stjames/_deprecated_solvent_settings.py +0 -0
- {stjames-0.0.27 → stjames-0.0.28}/stjames/base.py +0 -0
- {stjames-0.0.27 → stjames-0.0.28}/stjames/basis_set.py +0 -0
- {stjames-0.0.27 → stjames-0.0.28}/stjames/calculation.py +0 -0
- {stjames-0.0.27 → stjames-0.0.28}/stjames/corrections.py +0 -0
- {stjames-0.0.27 → stjames-0.0.28}/stjames/diis_settings.py +0 -0
- {stjames-0.0.27 → stjames-0.0.28}/stjames/grid_settings.py +0 -0
- {stjames-0.0.27 → stjames-0.0.28}/stjames/int_settings.py +0 -0
- {stjames-0.0.27 → stjames-0.0.28}/stjames/methods.py +0 -0
- {stjames-0.0.27 → stjames-0.0.28}/stjames/modes.py +0 -0
- {stjames-0.0.27 → stjames-0.0.28}/stjames/opt_settings.py +0 -0
- {stjames-0.0.27 → stjames-0.0.28}/stjames/scf_settings.py +0 -0
- {stjames-0.0.27 → stjames-0.0.28}/stjames/solvent_settings.py +0 -0
- {stjames-0.0.27 → stjames-0.0.28}/stjames/status.py +0 -0
- {stjames-0.0.27 → stjames-0.0.28}/stjames/tasks.py +0 -0
- {stjames-0.0.27 → stjames-0.0.28}/stjames/thermochem_settings.py +0 -0
- {stjames-0.0.27 → stjames-0.0.28}/stjames.egg-info/SOURCES.txt +0 -0
- {stjames-0.0.27 → stjames-0.0.28}/stjames.egg-info/dependency_links.txt +0 -0
- {stjames-0.0.27 → stjames-0.0.28}/stjames.egg-info/requires.txt +0 -0
- {stjames-0.0.27 → stjames-0.0.28}/stjames.egg-info/top_level.txt +0 -0
|
@@ -54,28 +54,28 @@ class Molecule(Base):
|
|
|
54
54
|
return [a.atomic_number for a in self.atoms]
|
|
55
55
|
|
|
56
56
|
@property
|
|
57
|
-
def sum_energy_zpe(self) -> float
|
|
57
|
+
def sum_energy_zpe(self) -> Optional[float]:
|
|
58
58
|
if (self.energy is None) or (self.zero_point_energy is None):
|
|
59
59
|
return None
|
|
60
60
|
else:
|
|
61
61
|
return self.energy + self.zero_point_energy
|
|
62
62
|
|
|
63
63
|
@property
|
|
64
|
-
def sum_energy_thermal_corr(self) -> float
|
|
64
|
+
def sum_energy_thermal_corr(self) -> Optional[float]:
|
|
65
65
|
if (self.energy is None) or (self.thermal_energy_corr is None):
|
|
66
66
|
return None
|
|
67
67
|
else:
|
|
68
68
|
return self.energy + self.thermal_energy_corr
|
|
69
69
|
|
|
70
70
|
@property
|
|
71
|
-
def sum_energy_enthalpy(self) -> float
|
|
71
|
+
def sum_energy_enthalpy(self) -> Optional[float]:
|
|
72
72
|
if (self.energy is None) or (self.thermal_enthalpy_corr is None):
|
|
73
73
|
return None
|
|
74
74
|
else:
|
|
75
75
|
return self.energy + self.thermal_enthalpy_corr
|
|
76
76
|
|
|
77
77
|
@property
|
|
78
|
-
def sum_energy_free_energy(self) -> float
|
|
78
|
+
def sum_energy_free_energy(self) -> Optional[float]:
|
|
79
79
|
if (self.energy is None) or (self.thermal_free_energy_corr is None):
|
|
80
80
|
return None
|
|
81
81
|
else:
|
|
@@ -60,7 +60,7 @@ class Settings(Base):
|
|
|
60
60
|
|
|
61
61
|
@pydantic.field_validator("basis_set", mode="before")
|
|
62
62
|
@classmethod
|
|
63
|
-
def parse_basis_set(cls, v: Any) -> BasisSet
|
|
63
|
+
def parse_basis_set(cls, v: Any) -> Optional[BasisSet]:
|
|
64
64
|
"""Turn a string into a ``BasisSet`` object. (This is a little crude.)"""
|
|
65
65
|
if isinstance(v, BasisSet):
|
|
66
66
|
return None if v.name is None else v
|
|
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
|