stjames 0.0.66__py3-none-any.whl → 0.0.68__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.
Potentially problematic release.
This version of stjames might be problematic. Click here for more details.
- stjames/pdb.py +1 -1
- stjames/status.py +4 -1
- stjames/workflows/scan.py +2 -0
- {stjames-0.0.66.dist-info → stjames-0.0.68.dist-info}/METADATA +1 -1
- {stjames-0.0.66.dist-info → stjames-0.0.68.dist-info}/RECORD +8 -8
- {stjames-0.0.66.dist-info → stjames-0.0.68.dist-info}/WHEEL +1 -1
- {stjames-0.0.66.dist-info → stjames-0.0.68.dist-info}/licenses/LICENSE +0 -0
- {stjames-0.0.66.dist-info → stjames-0.0.68.dist-info}/top_level.txt +0 -0
stjames/pdb.py
CHANGED
|
@@ -292,7 +292,7 @@ def pdb_object_to_pdb_filestring(
|
|
|
292
292
|
)
|
|
293
293
|
pdb_lines.append(line)
|
|
294
294
|
|
|
295
|
-
pdb_lines.append(f"TER {_atom_id + 1:>5} {residue.name:>3} {this_chain_id}{
|
|
295
|
+
pdb_lines.append(f"TER {_atom_id + 1:>5} {residue.name:>3} {this_chain_id}{_residue_id[2:]:>4}")
|
|
296
296
|
|
|
297
297
|
# === 2) Non-polymers (e.g. ligands, ions) ===
|
|
298
298
|
for _np_id, nonpoly in model.non_polymer.items():
|
stjames/status.py
CHANGED
|
@@ -2,7 +2,7 @@ from enum import Enum
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
class Status(int, Enum):
|
|
5
|
-
# what a job gets when it's created
|
|
5
|
+
# what a job gets when it's created if user is below max_concurrency
|
|
6
6
|
QUEUED = 0
|
|
7
7
|
|
|
8
8
|
# still running...
|
|
@@ -16,3 +16,6 @@ class Status(int, Enum):
|
|
|
16
16
|
|
|
17
17
|
# job was stopped externally, maybe timed out or something
|
|
18
18
|
STOPPED = 4
|
|
19
|
+
|
|
20
|
+
# Status if a user has exceeded their allowed max_concurrency
|
|
21
|
+
AWAITING_QUEUE = 5
|
stjames/workflows/scan.py
CHANGED
|
@@ -18,12 +18,14 @@ class ScanPoint(Base):
|
|
|
18
18
|
A point in a scan.
|
|
19
19
|
|
|
20
20
|
:param index: index of the point
|
|
21
|
+
:param index_2d: index of the point in 2nd dimension, if applicable
|
|
21
22
|
:param molecule: Molecule at the point
|
|
22
23
|
:param energy: energy of the point
|
|
23
24
|
:param uuid: UUID of the calculation
|
|
24
25
|
"""
|
|
25
26
|
|
|
26
27
|
index: int
|
|
28
|
+
index_2d: int = 0
|
|
27
29
|
molecule: Molecule
|
|
28
30
|
energy: Annotated[float | None, AfterValidator(round_optional_float(6))] = None
|
|
29
31
|
uuid: UUID | None = None
|
|
@@ -15,13 +15,13 @@ stjames/method.py,sha256=5hBHk2xQLpxZ52LwJ9FHWaqQMdFKnsbQEOxaVe6O4Go,2321
|
|
|
15
15
|
stjames/mode.py,sha256=xw46Cc7f3eTS8i35qECi-8DocAlANhayK3w4akD4HBU,496
|
|
16
16
|
stjames/molecule.py,sha256=4dakMkn-_I5bSWsijLLY0tn5NkBEuZhmtYDj-MDSJE0,17987
|
|
17
17
|
stjames/opt_settings.py,sha256=gxXGtjy9l-Q5Wen9eO6T6HHRCuS8rfOofdVQIJj0JcI,550
|
|
18
|
-
stjames/pdb.py,sha256=
|
|
18
|
+
stjames/pdb.py,sha256=_pIdJCMhIzS4t2HWQa_susDWjZEl0oLn4Njb1QoKvKw,26460
|
|
19
19
|
stjames/periodic_cell.py,sha256=eV_mArsY_MPEFSrFEsTC-CyCc6V8ITAXdk7yhjjNI7M,1080
|
|
20
20
|
stjames/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
21
21
|
stjames/scf_settings.py,sha256=WotVgVrayQ_8PUHP39zVtG7iLT9PV41lpzruttFACP8,2356
|
|
22
22
|
stjames/settings.py,sha256=NrNtHq-78BNp4RMP0tsABv4BjS5EscANakCyRdImI-A,8967
|
|
23
23
|
stjames/solvent.py,sha256=u037tmu-9oa21s-WEDZ7VC7nuNVjkqR2ML4JWjWSME4,1158
|
|
24
|
-
stjames/status.py,sha256=
|
|
24
|
+
stjames/status.py,sha256=0mOeF9CoW2gGMfOkAlxTOL32jXNdJ0cU1-Xwo9DCxUc,455
|
|
25
25
|
stjames/task.py,sha256=OLINRqe66o7t8arffilwmggrF_7TH0L79u6DhGruxV8,329
|
|
26
26
|
stjames/thermochem_settings.py,sha256=ZTLz31v8Ltutde5Nfm0vH5YahWjcfFWfr_R856KffxE,517
|
|
27
27
|
stjames/types.py,sha256=rs2CdpkruIfU-PS98rjr9HAJNFGdZDB_zl-u3wa5rAs,4092
|
|
@@ -55,13 +55,13 @@ stjames/workflows/molecular_dynamics.py,sha256=kxugE73Ntzpj-xpJSoQ1EwGzXXdvi_NTy
|
|
|
55
55
|
stjames/workflows/multistage_opt.py,sha256=pPLAZDztHd37q8cxCUkdq8EzOFyrTzZJHNfDV5auiHs,13638
|
|
56
56
|
stjames/workflows/pka.py,sha256=j3vBh2YM3nJzJ1XJKPsmYahRCeaU9n3P-G-u9_moaFw,2065
|
|
57
57
|
stjames/workflows/redox_potential.py,sha256=7S18t9Y3eynSnA3lZbRlvLfdbgeBopdiigLzt1zxg5c,3871
|
|
58
|
-
stjames/workflows/scan.py,sha256=
|
|
58
|
+
stjames/workflows/scan.py,sha256=DXQBpa2t2PowAtOwmdgpxaSLq--fEShljzAGSb8Nf5U,2993
|
|
59
59
|
stjames/workflows/solubility.py,sha256=kGfVyPPGDLRpf2j6dSY7woCkfsoXSbUzdSImA4mcMpw,1898
|
|
60
60
|
stjames/workflows/spin_states.py,sha256=0degmE-frovgoXweshZyjfjqL7nkbaFoO9YoJhvQnaI,4748
|
|
61
61
|
stjames/workflows/tautomer.py,sha256=7eYKziGPg8Km6lfowTzSkgJfJ4SHUPrAmnTf8Bi-SB0,1164
|
|
62
62
|
stjames/workflows/workflow.py,sha256=sk2BUz59wdIkT_EyKOnMt5woNrjo3aHVK38cU8x8I7Q,1423
|
|
63
|
-
stjames-0.0.
|
|
64
|
-
stjames-0.0.
|
|
65
|
-
stjames-0.0.
|
|
66
|
-
stjames-0.0.
|
|
67
|
-
stjames-0.0.
|
|
63
|
+
stjames-0.0.68.dist-info/licenses/LICENSE,sha256=i7ehYBS-6gGmbTcgU4mgk28pyOx2kScJ0kcx8n7bWLM,1084
|
|
64
|
+
stjames-0.0.68.dist-info/METADATA,sha256=QvoqeoYNBF5Kb1_Ojvaj08H4S1ObPREu1-9ocQ_RTtI,1694
|
|
65
|
+
stjames-0.0.68.dist-info/WHEEL,sha256=DK49LOLCYiurdXXOXwGJm6U4DkHkg4lcxjhqwRa0CP4,91
|
|
66
|
+
stjames-0.0.68.dist-info/top_level.txt,sha256=FYCwxl6quhYOAgG-mnPQcCK8vsVM7B8rIUrO-WrQ_PI,8
|
|
67
|
+
stjames-0.0.68.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|