rowan-python 2.1.5__tar.gz → 2.1.7__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 (53) hide show
  1. {rowan_python-2.1.5 → rowan_python-2.1.7}/PKG-INFO +2 -2
  2. {rowan_python-2.1.5 → rowan_python-2.1.7}/examples/basic_calculation_with_constraint.py +0 -1
  3. {rowan_python-2.1.5 → rowan_python-2.1.7}/examples/basic_calculation_with_solvent.py +0 -2
  4. rowan_python-2.1.7/examples/double_ended_ts_search.py +58 -0
  5. {rowan_python-2.1.5 → rowan_python-2.1.7}/examples/protein_cofolding.py +2 -0
  6. rowan_python-2.1.7/examples/strain.py +16 -0
  7. {rowan_python-2.1.5 → rowan_python-2.1.7}/pixi.lock +132 -135
  8. {rowan_python-2.1.5 → rowan_python-2.1.7}/pyproject.toml +3 -3
  9. {rowan_python-2.1.5 → rowan_python-2.1.7}/rowan/workflow.py +109 -10
  10. {rowan_python-2.1.5 → rowan_python-2.1.7}/.envrc +0 -0
  11. {rowan_python-2.1.5 → rowan_python-2.1.7}/.github/workflows/python-publish.yml +0 -0
  12. {rowan_python-2.1.5 → rowan_python-2.1.7}/.github/workflows/test.yml +0 -0
  13. {rowan_python-2.1.5 → rowan_python-2.1.7}/.gitignore +0 -0
  14. {rowan_python-2.1.5 → rowan_python-2.1.7}/.pre-commit-config.yaml +0 -0
  15. {rowan_python-2.1.5 → rowan_python-2.1.7}/LICENSE +0 -0
  16. {rowan_python-2.1.5 → rowan_python-2.1.7}/README.md +0 -0
  17. {rowan_python-2.1.5 → rowan_python-2.1.7}/docs/images/deciduous-tree-favicon.png +0 -0
  18. {rowan_python-2.1.5 → rowan_python-2.1.7}/docs/index.md +0 -0
  19. {rowan_python-2.1.5 → rowan_python-2.1.7}/docs/rowan_rdkit.md +0 -0
  20. {rowan_python-2.1.5 → rowan_python-2.1.7}/docs/stylesheets/colors.css +0 -0
  21. {rowan_python-2.1.5 → rowan_python-2.1.7}/examples/PROTAC_solubility.py +0 -0
  22. {rowan_python-2.1.5 → rowan_python-2.1.7}/examples/aqueous_solubility.py +0 -0
  23. {rowan_python-2.1.5 → rowan_python-2.1.7}/examples/basic_calculation.py +0 -0
  24. {rowan_python-2.1.5 → rowan_python-2.1.7}/examples/basic_calculation_from_json.py +0 -0
  25. {rowan_python-2.1.5 → rowan_python-2.1.7}/examples/bde.py +0 -0
  26. {rowan_python-2.1.5 → rowan_python-2.1.7}/examples/cofolding_screen.py +0 -0
  27. {rowan_python-2.1.5 → rowan_python-2.1.7}/examples/conformer_dependent_redox.py +0 -0
  28. {rowan_python-2.1.5 → rowan_python-2.1.7}/examples/conformers.py +0 -0
  29. {rowan_python-2.1.5 → rowan_python-2.1.7}/examples/data/workflow_example.json +0 -0
  30. {rowan_python-2.1.5 → rowan_python-2.1.7}/examples/docking_screen.py +0 -0
  31. {rowan_python-2.1.5 → rowan_python-2.1.7}/examples/fukui_index.py +0 -0
  32. {rowan_python-2.1.5 → rowan_python-2.1.7}/examples/ion_mobility.py +0 -0
  33. {rowan_python-2.1.5 → rowan_python-2.1.7}/examples/irc.py +0 -0
  34. {rowan_python-2.1.5 → rowan_python-2.1.7}/examples/macropka.py +0 -0
  35. {rowan_python-2.1.5 → rowan_python-2.1.7}/examples/multistage_opt.py +0 -0
  36. {rowan_python-2.1.5 → rowan_python-2.1.7}/examples/nmr.py +0 -0
  37. {rowan_python-2.1.5 → rowan_python-2.1.7}/examples/optimization.py +0 -0
  38. {rowan_python-2.1.5 → rowan_python-2.1.7}/examples/phenol_pka.py +0 -0
  39. {rowan_python-2.1.5 → rowan_python-2.1.7}/examples/pka.py +0 -0
  40. {rowan_python-2.1.5 → rowan_python-2.1.7}/examples/redox_potential.py +0 -0
  41. {rowan_python-2.1.5 → rowan_python-2.1.7}/examples/scan.py +0 -0
  42. {rowan_python-2.1.5 → rowan_python-2.1.7}/examples/tautomer.py +0 -0
  43. {rowan_python-2.1.5 → rowan_python-2.1.7}/mkdocs.yml +0 -0
  44. {rowan_python-2.1.5 → rowan_python-2.1.7}/rowan/__init__.py +0 -0
  45. {rowan_python-2.1.5 → rowan_python-2.1.7}/rowan/constants.py +0 -0
  46. {rowan_python-2.1.5 → rowan_python-2.1.7}/rowan/folder.py +0 -0
  47. {rowan_python-2.1.5 → rowan_python-2.1.7}/rowan/project.py +0 -0
  48. {rowan_python-2.1.5 → rowan_python-2.1.7}/rowan/protein.py +0 -0
  49. {rowan_python-2.1.5 → rowan_python-2.1.7}/rowan/py.typed +0 -0
  50. {rowan_python-2.1.5 → rowan_python-2.1.7}/rowan/rowan_rdkit/__init__.py +0 -0
  51. {rowan_python-2.1.5 → rowan_python-2.1.7}/rowan/rowan_rdkit/chem_utils.py +0 -0
  52. {rowan_python-2.1.5 → rowan_python-2.1.7}/rowan/user.py +0 -0
  53. {rowan_python-2.1.5 → rowan_python-2.1.7}/rowan/utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: rowan-python
3
- Version: 2.1.5
3
+ Version: 2.1.7
4
4
  Summary: Rowan Python Library
5
5
  Project-URL: Homepage, https://github.com/rowansci/rowan-client
6
6
  Project-URL: Bug Tracker, https://github.com/rowansci/rowan-client/issues
@@ -11,7 +11,7 @@ Requires-Dist: httpx
11
11
  Requires-Dist: nest-asyncio
12
12
  Requires-Dist: rdkit
13
13
  Requires-Dist: setuptools
14
- Requires-Dist: stjames>=0.0.104
14
+ Requires-Dist: stjames>=0.0.109
15
15
  Description-Content-Type: text/markdown
16
16
 
17
17
  # Rowan Python Library
@@ -9,7 +9,6 @@ result = rowan.submit_workflow(
9
9
  workflow_type="basic_calculation",
10
10
  name="Constrained Butane",
11
11
  workflow_data={
12
- "engine": "xtb",
13
12
  "settings": {
14
13
  "method": "gfn2_xtb",
15
14
  "tasks": ["optimize"],
@@ -13,7 +13,6 @@ def compute_energy_with_solvent_correction(molecule: Molecule, method: Method, n
13
13
  name=f"{name} {method} optimization",
14
14
  workflow_data={
15
15
  "settings": {"method": method, "tasks": ["optimize"]},
16
- "engine": "omol25",
17
16
  },
18
17
  )
19
18
 
@@ -33,7 +32,6 @@ def compute_energy_with_solvent_correction(molecule: Molecule, method: Method, n
33
32
  "tasks": ["energy"],
34
33
  "solvent_settings": {"solvent": "water", "model": "cpcmx"},
35
34
  },
36
- "engine": "omol25",
37
35
  },
38
36
  )
39
37
 
@@ -0,0 +1,58 @@
1
+ """
2
+ Run a double-ended transition state search using Rowan.
3
+
4
+ See documentation at: https://docs.rowansci.com/science/workflows/double-ended-ts-search
5
+ """
6
+
7
+ from stjames import Method, Molecule, Settings
8
+ from stjames.optimization.freezing_string_method import (
9
+ FSMInterpolation,
10
+ FSMOptimizationCoordinates,
11
+ FSMSettings,
12
+ )
13
+
14
+ import rowan
15
+
16
+ # rowan.api_key = ""
17
+ HCN = Molecule.from_xyz(
18
+ """\
19
+ H 0 0 -1.1
20
+ C 0 0 0
21
+ N 0 0 1.2""",
22
+ )
23
+ CNH = Molecule.from_xyz(
24
+ """\
25
+ H 0 0 2.3
26
+ C 0 0 0
27
+ N 0 0 1.2""",
28
+ )
29
+ fsm_settings = FSMSettings(
30
+ optimization_coordinates=FSMOptimizationCoordinates.CARTESIAN,
31
+ interpolation_method=FSMInterpolation.REDUNDANT_INTERNAL_COORDINATES,
32
+ min_num_nodes=7,
33
+ num_interpolation_points=5,
34
+ max_optimizer_iterations=3,
35
+ max_line_search_steps=2,
36
+ max_displacement=0.1,
37
+ )
38
+
39
+
40
+ # Run calculation remotely
41
+ result = rowan.submit_double_ended_ts_search_workflow(
42
+ reactant=HCN,
43
+ product=CNH,
44
+ calculation_settings=Settings(method=Method.GFN2_XTB),
45
+ search_settings=fsm_settings,
46
+ optimize_inputs=True,
47
+ optimize_ts=True,
48
+ name="H-C≡N Isomerization",
49
+ )
50
+
51
+ print(f"View workflow privately at: https://labs.rowansci.com/workflow/{result.uuid}")
52
+ result.wait_for_result().fetch_latest(in_place=True)
53
+
54
+ assert result and result.data
55
+ print(result.data["forward_string_distances"])
56
+ print(result.data["backward_string_distances"])
57
+
58
+ print(result)
@@ -12,6 +12,8 @@ result = rowan.submit_protein_cofolding_workflow(
12
12
  ],
13
13
  ligand_binding_affinity_index=0,
14
14
  name="Torcetrapib Cofolding",
15
+ do_pose_refinement=True,
16
+ compute_strain=True,
15
17
  )
16
18
 
17
19
  print(result.wait_for_result().fetch_latest(in_place=True))
@@ -0,0 +1,16 @@
1
+ from stjames import Molecule
2
+
3
+ import rowan
4
+
5
+ # Set ROWAN_API_KEY environment variable to your API key or set rowan.api_key directly
6
+ # rowan.api_key = "rowan-sk..."
7
+
8
+ # ordinarily, we'd try a 3D conformer and see what the strain is.
9
+ # here we'll investigate the strain of the autogenerated hexane conformer
10
+ result = rowan.submit_strain_workflow(
11
+ initial_molecule=Molecule.from_smiles("CCCCCC"),
12
+ name="test autogen hexane strain",
13
+ )
14
+
15
+
16
+ print(result.wait_for_result().fetch_latest(in_place=True))