Git Product home page Git Product logo

Comments (6)

vaibhavadixit avatar vaibhavadixit commented on June 15, 2024

Following is the output to show that openmm is installed and can be imported in python3.8, thus not sure why the hidr.py script fails to import it. please do suggest. thank you.

(base) [niperg@kaberi ~]$ python3.8
\Python 3.8.13 (default, Mar 28 2022, 11:38:47)
[GCC 7.5.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.

import openmm

help(openmm)

Help on package openmm:

NAME
openmm

DESCRIPTION
OpenMM is a toolkit for molecular simulation. It can be used either as a
stand-alone application for running simulations, or as a library you call
from your own code. It provides a combination of extreme flexibility
(through custom forces and integrators), openness, and high performance
(especially on recent GPUs) that make it truly unique among simulation codes.

PACKAGE CONTENTS
_openmm
amd
app (package)
mtsintegrator
openmm
testInstallation
unit (package)
vec3
version

CLASSES
builtins.Exception(builtins.BaseException)
OpenMMException

class OpenMMException(builtins.Exception)
 |  This is the class used for all exceptions thrown by the C++ library.
 |  
 |  Method resolution order:
 |      OpenMMException
 |      builtins.Exception
 |      builtins.BaseException

from seekr2.

vaibhavadixit avatar vaibhavadixit commented on June 15, 2024

I think, I understood the problem and will post the solution if it works.

from seekr2.

lvotapka avatar lvotapka commented on June 15, 2024

I've encountered this problem before, and it's actually a bug in Parmed. You might try upgrading parmed:

pip install --upgrade parmed

However, when I first encountered this problem, I had to go into the /path/to/parmed/utils/decorators.py script and delete that line that raises the ImportError.

If you find another solution, we would be interested to hear it here.

from seekr2.

vaibhavadixit avatar vaibhavadixit commented on June 15, 2024

Upgrading the parmed fixed this problem.
But I'm getting errors with other AmberTools like MCBP.py and pdb4amber which are showing import error with parmed.
I've asked my student to post this error on the Amber forum, but it would be helpful if you can comment or share your experience with the same.
Thank you.
Vaibhav

from seekr2.

lvotapka avatar lvotapka commented on June 15, 2024

I don't often use MCBP.py or pdb4amber, but one idea would be to create two separate conda envs, one that has the modified parmed for SEEKR2, and the other which has the version of parmed you need for MCBP.py and pdb4amber, if its the conflicting versions that are causing the problem.

from seekr2.

lvotapka avatar lvotapka commented on June 15, 2024

Hi @vaibhavadixit, did this error ultimately get resolved?

from seekr2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.