stjames 0.0.39__tar.gz → 0.0.40__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.39/stjames.egg-info → stjames-0.0.40}/PKG-INFO +1 -1
- {stjames-0.0.39 → stjames-0.0.40}/pyproject.toml +1 -1
- {stjames-0.0.39 → stjames-0.0.40}/stjames/molecule.py +3 -0
- {stjames-0.0.39 → stjames-0.0.40}/stjames/settings.py +1 -1
- {stjames-0.0.39 → stjames-0.0.40}/stjames/solvent.py +1 -0
- {stjames-0.0.39 → stjames-0.0.40}/stjames/workflows/conformer.py +1 -0
- {stjames-0.0.39 → stjames-0.0.40/stjames.egg-info}/PKG-INFO +1 -1
- {stjames-0.0.39 → stjames-0.0.40}/LICENSE +0 -0
- {stjames-0.0.39 → stjames-0.0.40}/README.md +0 -0
- {stjames-0.0.39 → stjames-0.0.40}/setup.cfg +0 -0
- {stjames-0.0.39 → stjames-0.0.40}/stjames/__init__.py +0 -0
- {stjames-0.0.39 → stjames-0.0.40}/stjames/_deprecated_solvent_settings.py +0 -0
- {stjames-0.0.39 → stjames-0.0.40}/stjames/base.py +0 -0
- {stjames-0.0.39 → stjames-0.0.40}/stjames/basis_set.py +0 -0
- {stjames-0.0.39 → stjames-0.0.40}/stjames/calculation.py +0 -0
- {stjames-0.0.39 → stjames-0.0.40}/stjames/constraint.py +0 -0
- {stjames-0.0.39 → stjames-0.0.40}/stjames/correction.py +0 -0
- {stjames-0.0.39 → stjames-0.0.40}/stjames/diis_settings.py +0 -0
- {stjames-0.0.39 → stjames-0.0.40}/stjames/grid_settings.py +0 -0
- {stjames-0.0.39 → stjames-0.0.40}/stjames/int_settings.py +0 -0
- {stjames-0.0.39 → stjames-0.0.40}/stjames/message.py +0 -0
- {stjames-0.0.39 → stjames-0.0.40}/stjames/method.py +0 -0
- {stjames-0.0.39 → stjames-0.0.40}/stjames/mode.py +0 -0
- {stjames-0.0.39 → stjames-0.0.40}/stjames/opt_settings.py +0 -0
- {stjames-0.0.39 → stjames-0.0.40}/stjames/py.typed +0 -0
- {stjames-0.0.39 → stjames-0.0.40}/stjames/scf_settings.py +0 -0
- {stjames-0.0.39 → stjames-0.0.40}/stjames/status.py +0 -0
- {stjames-0.0.39 → stjames-0.0.40}/stjames/task.py +0 -0
- {stjames-0.0.39 → stjames-0.0.40}/stjames/thermochem_settings.py +0 -0
- {stjames-0.0.39 → stjames-0.0.40}/stjames/workflows/__init__.py +0 -0
- {stjames-0.0.39 → stjames-0.0.40}/stjames/workflows/descriptors.py +0 -0
- {stjames-0.0.39 → stjames-0.0.40}/stjames/workflows/fukui.py +0 -0
- {stjames-0.0.39 → stjames-0.0.40}/stjames/workflows/pka.py +0 -0
- {stjames-0.0.39 → stjames-0.0.40}/stjames/workflows/redox_potential.py +0 -0
- {stjames-0.0.39 → stjames-0.0.40}/stjames/workflows/scan.py +0 -0
- {stjames-0.0.39 → stjames-0.0.40}/stjames/workflows/tautomer.py +0 -0
- {stjames-0.0.39 → stjames-0.0.40}/stjames/workflows/workflow.py +0 -0
- {stjames-0.0.39 → stjames-0.0.40}/stjames.egg-info/SOURCES.txt +0 -0
- {stjames-0.0.39 → stjames-0.0.40}/stjames.egg-info/dependency_links.txt +0 -0
- {stjames-0.0.39 → stjames-0.0.40}/stjames.egg-info/requires.txt +0 -0
- {stjames-0.0.39 → stjames-0.0.40}/stjames.egg-info/top_level.txt +0 -0
|
@@ -46,6 +46,9 @@ class Molecule(Base):
|
|
|
46
46
|
thermal_enthalpy_corr: Optional[float] = None
|
|
47
47
|
thermal_free_energy_corr: Optional[float] = None
|
|
48
48
|
|
|
49
|
+
def __len__(self) -> int:
|
|
50
|
+
return len(self.atoms)
|
|
51
|
+
|
|
49
52
|
@property
|
|
50
53
|
def coordinates(self) -> list[list[float]]:
|
|
51
54
|
return [a.position for a in self.atoms]
|
|
@@ -105,7 +105,7 @@ class Settings(Base):
|
|
|
105
105
|
@classmethod
|
|
106
106
|
def remove_empty_string(cls, v: list[T]) -> list[T]:
|
|
107
107
|
"""Remove empty string values."""
|
|
108
|
-
return [c for c in v if c]
|
|
108
|
+
return [c for c in v if c] if v is not None else v
|
|
109
109
|
|
|
110
110
|
|
|
111
111
|
def _assign_settings_by_mode(settings: Settings) -> None:
|
|
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
|