Comments (8)
+1 good point
Sent from my Phone. Sorry for the brevity or unusual tone.
On Aug 1, 2013, at 12:42 PM, John Chodera [email protected] wrote:
Is there a way to access the OpenMM version number via the Python API?
Setting, for example, simtk.openmm.version to something appropriate, or adding a simtk.openmm.getVersion() method would be helpful.
—
Reply to this email directly or view it on GitHub.
from openmm.
mm.Platform.getVersion I think.
-Robert
Sent from my iPhone.
On Thu, Aug 1, 2013 at 12:49 PM, Vijay Pande [email protected]
wrote:
+1 good point
Sent from my Phone. Sorry for the brevity or unusual tone.
On Aug 1, 2013, at 12:42 PM, John Chodera [email protected] wrote:Is there a way to access the OpenMM version number via the Python API?
Setting, for example, simtk.openmm.version to something appropriate, or adding a simtk.openmm.getVersion() method would be helpful.
—
Reply to this email directly or view it on GitHub.
Reply to this email directly or view it on GitHub:
#88 (comment)
from openmm.
A useful addition might be to have the git commit tag of the installation accessible from the python API. This is useful for people using the dev branch as opposed to the released versions.
I can submit a PR for this, based on code from numpy (BSD).
-Robert
Sent from my iPhone.
On Thu, Aug 1, 2013 at 12:49 PM, Vijay Pande [email protected]
wrote:
+1 good point
Sent from my Phone. Sorry for the brevity or unusual tone.
On Aug 1, 2013, at 12:42 PM, John Chodera [email protected] wrote:Is there a way to access the OpenMM version number via the Python API?
Setting, for example, simtk.openmm.version to something appropriate, or adding a simtk.openmm.getVersion() method would be helpful.
—
Reply to this email directly or view it on GitHub.
Reply to this email directly or view it on GitHub:
#88 (comment)
from openmm.
A useful addition might be to have the git commit tag of the installation accessible from the python API. This is useful for people using the dev branch as opposed to the released versions.
I think that would be a great addition.
from openmm.
A useful addition might be to have the git commit tag of the installation accessible from the python API. This is useful for people using the dev branch as opposed to the released versions.
Agreed!
from openmm.
simtk.openmm.__version__
still just reports 1.0
. PEP 8 suggests this string should report the current version. Could we change this to report the full_version
or short_version
by reporting it from the new simtk.openmm.version
module?
>>> print simtk.openmm.__version__
1.0
from openmm.
It should be just a small change to this, with a little import . There's also this line, but I'm not sure if it actually has any effect.
from openmm.
I just checked in the fix. simtk.openmm.version is now set from Platform.getOpenMMVersion().
from openmm.
Related Issues (20)
- How to set a periodic infinite long DNA system? by setUsesPeriodicBoundaryConditions HOT 9
- How can I perform rigidbody simulation? HOT 3
- module not found HOT 7
- How can I manipulate epsilon of the atoms to turn off LJ force during the simualtion? HOT 8
- No template found for residue 645 (G) and Error on using gromacs inputs HOT 4
- Load empirical force filed like EAM in OpenMM HOT 1
- A code issue about force plugin HOT 4
- Reproducing simulations with truncated octahedron box & "Periodic box vectors must be in reduced form" HOT 3
- Energy derivatives with TorchForce HOT 4
- Using addTabulatedFunction for per pair parameters HOT 2
- Unit.sqrt( ) consistency error HOT 3
- No template find for residue... HOT 1
- Brownian CustomIntegrator Algorithm HOT 5
- Periodic boundary conditions with DrudeForce HOT 4
- Charge flux in openmm HOT 3
- modeller.addSolvent error with residue templates and non-standard residues HOT 3
- Protein PDB File Loading Problem (ValueError: No template found for residue) HOT 1
- Massless atoms destroying/altering motion of system HOT 3
- TypeError in custom integrator despite correct type HOT 8
- No template found issue for C-terminal residues HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openmm.