stjames 0.0.67__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/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
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: stjames
3
- Version: 0.0.67
3
+ Version: 0.0.68
4
4
  Summary: standardized JSON atom/molecule encoding scheme
5
5
  Author-email: Corin Wagen <corin@rowansci.com>
6
6
  Project-URL: Homepage, https://github.com/rowansci/stjames
@@ -21,7 +21,7 @@ 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=wTKNcNxStoEHrxxgr_zTyN90NITa3rxMQZzOgrCifEw,332
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=Lph2VhsxJMpzY-wtmUV7U1TOS7mIwjgkLniaipGDo8I,2899
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.67.dist-info/licenses/LICENSE,sha256=i7ehYBS-6gGmbTcgU4mgk28pyOx2kScJ0kcx8n7bWLM,1084
64
- stjames-0.0.67.dist-info/METADATA,sha256=6njJyhDxM_XVsH0R-2HzU98usLv4FbAcJw9GI20Kono,1694
65
- stjames-0.0.67.dist-info/WHEEL,sha256=1tXe9gY0PYatrMPMDd6jXqjfpz_B-Wqm32CPfRC58XU,91
66
- stjames-0.0.67.dist-info/top_level.txt,sha256=FYCwxl6quhYOAgG-mnPQcCK8vsVM7B8rIUrO-WrQ_PI,8
67
- stjames-0.0.67.dist-info/RECORD,,
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,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (77.0.3)
2
+ Generator: setuptools (78.0.2)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5