venuspython 1.1.4__tar.gz → 1.1.5__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.
Files changed (25) hide show
  1. {venuspython-1.1.4 → venuspython-1.1.5}/PKG-INFO +1 -1
  2. venuspython-1.1.5/venuspy/__init__.py +1 -0
  3. {venuspython-1.1.4 → venuspython-1.1.5}/venuspy/calc/psi4calc.py +1 -1
  4. {venuspython-1.1.4 → venuspython-1.1.5}/venuspy/cli.py +23 -1
  5. {venuspython-1.1.4 → venuspython-1.1.5}/venuspython.egg-info/PKG-INFO +1 -1
  6. venuspython-1.1.4/venuspy/__init__.py +0 -1
  7. {venuspython-1.1.4 → venuspython-1.1.5}/README.md +0 -0
  8. {venuspython-1.1.4 → venuspython-1.1.5}/pyproject.toml +0 -0
  9. {venuspython-1.1.4 → venuspython-1.1.5}/setup.cfg +0 -0
  10. {venuspython-1.1.4 → venuspython-1.1.5}/venuspy/calc/bagelcalc.py +0 -0
  11. {venuspython-1.1.4 → venuspython-1.1.5}/venuspy/calc/chempotpycalc.py +0 -0
  12. {venuspython-1.1.4 → venuspython-1.1.5}/venuspy/calc/minisgdmlcalc.py +0 -0
  13. {venuspython-1.1.4 → venuspython-1.1.5}/venuspy/calc/mopaccalc.py +0 -0
  14. {venuspython-1.1.4 → venuspython-1.1.5}/venuspy/calc/nwchemcalc.py +0 -0
  15. {venuspython-1.1.4 → venuspython-1.1.5}/venuspy/calc/nwchemexcalc.py +0 -0
  16. {venuspython-1.1.4 → venuspython-1.1.5}/venuspy/calc/original_nwchemexcalc.py +0 -0
  17. {venuspython-1.1.4 → venuspython-1.1.5}/venuspy/calc/physnetcalc.py +0 -0
  18. {venuspython-1.1.4 → venuspython-1.1.5}/venuspy/calc/qcengineGAMESScalc.py +0 -0
  19. {venuspython-1.1.4 → venuspython-1.1.5}/venuspy/calc/xtbcalc.py +0 -0
  20. {venuspython-1.1.4 → venuspython-1.1.5}/venuspy/initialSampling.py +0 -0
  21. {venuspython-1.1.4 → venuspython-1.1.5}/venuspy/md.py +0 -0
  22. {venuspython-1.1.4 → venuspython-1.1.5}/venuspython.egg-info/SOURCES.txt +0 -0
  23. {venuspython-1.1.4 → venuspython-1.1.5}/venuspython.egg-info/dependency_links.txt +0 -0
  24. {venuspython-1.1.4 → venuspython-1.1.5}/venuspython.egg-info/entry_points.txt +0 -0
  25. {venuspython-1.1.4 → venuspython-1.1.5}/venuspython.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: venuspython
3
- Version: 1.1.4
3
+ Version: 1.1.5
4
4
  Summary: VENUSpy Initial Sampling and Molecular Dynamics
5
5
  Keywords: moleculardynamics,initialsampling
6
6
  Classifier: Development Status :: 5 - Production/Stable
@@ -0,0 +1 @@
1
+ __version__ = "1.1.5"
@@ -164,7 +164,7 @@ class psi4calculator(Calculator):
164
164
  # This is for initial guesses (only done ONCE at the start)
165
165
  if (not (self.init_wfn is None)):
166
166
  try:
167
- print("Reading in initial wavefunction: ({0})".format(self.init_wfn),flush=True)
167
+ print("Reading in initial wavefunction: ({0})".format(self.init_wfn),flush=True) # with help from ALLEN VINCENT
168
168
  e, self.ref_wfn = psi4.energy(self.psi4method,restart_file=self.init_wfn,write_orbitals=self.movecs,return_wfn=True)
169
169
  print("Succeeded reading in initial wavefunction!",flush=True)
170
170
  except:
@@ -75,6 +75,12 @@ try:
75
75
  except ImportError:
76
76
  print("#VENUS WARNING: CHEMPOTPY HAS NOT BEEN LOADED ... IT WILL NOT BE AVAILABLE FOR INITIAL SAMPLING")
77
77
 
78
+ # Try importing fairchem
79
+ try:
80
+ from fairchem.core import pretrained_mlip, FAIRChemCalculator
81
+ except ImportError:
82
+ print("#VENUS WARNING: FAIRCHEM HAS NOT BEEN LOADED ... IT WILL NOT BE AVAILABLE FOR INITIAL SAMPLING")
83
+
78
84
  # Try importing Schnet
79
85
  try:
80
86
  import schnetpack as spk
@@ -82,6 +88,12 @@ try:
82
88
  except ImportError:
83
89
  print("#VENUS WARNING: SCHNET HAS NOT BEEN LOADED ... IT WILL NOT BE AVAILABLE FOR INITIAL SAMPLING")
84
90
 
91
+ # Try importing MACE (with help from RITU RAJ)
92
+ try:
93
+ from mace.calculators import MACECalculator
94
+ except ImportError:
95
+ print("#VENUS WARNING: MACE HAS NOT BEEN LOADED ... IT WILL NOT BE AVAILABLE FOR INITIAL SAMPLING")
96
+
85
97
  # Try importing Physnet
86
98
  try:
87
99
  from .calc.physnetcalc import PNCalculator
@@ -252,7 +264,17 @@ def main():
252
264
  try_schnet = False
253
265
  try_sgdml = False
254
266
  try_qcenginegamess = False
255
- if (input_path.endswith(('.npz',))):
267
+ if (input_path.endswith(('.model',))):
268
+ print("#VENUS INPUT FILE '"+input_path+"' LOOKS LIKE A MACE FILE SO WILL ATTEMPT TO READ IT IN AS SUCH...")
269
+ calc = MACECalculator(model_paths=input_path, default_dtype="float64")
270
+
271
+ elif (input_path.endswith(('.pt',)) or input_path.endswith(('.pth',))):
272
+ print("#VENUS INPUT FILE '"+input_path+"' LOOKS LIKE AN UMA(FAIRCHEM) FILE SO WILL ATTEMPT TO READ IT IN AS SUCH...")
273
+ # predictor = pretrained_mlip.get_predict_unit("uma-s-1p1", device="cpu")
274
+ predictor = pretrained_mlip.get_predict_unit(input_path, device="cpu")
275
+ calc = FAIRChemCalculator(predictor, task_name="omol")
276
+
277
+ elif (input_path.endswith(('.npz',))):
256
278
 
257
279
  print("#VENUS INPUT FILE '"+input_path+"' LOOKS LIKE A SGDML FILE SO WILL ATTEMPT TO READ IT IN AS SUCH...")
258
280
  try:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: venuspython
3
- Version: 1.1.4
3
+ Version: 1.1.5
4
4
  Summary: VENUSpy Initial Sampling and Molecular Dynamics
5
5
  Keywords: moleculardynamics,initialsampling
6
6
  Classifier: Development Status :: 5 - Production/Stable
@@ -1 +0,0 @@
1
- __version__ = "1.1.4"
File without changes
File without changes
File without changes
File without changes