Re: [AMBER] error with line 165 of cpinutil.py

From: Jason Swails <jason.swails.gmail.com>
Date: Wed, 14 Oct 2015 08:47:33 -0400

On Wed, Oct 14, 2015 at 6:34 AM, Hadeer ELHabashy <
hadeer.elhabashi.gmail.com> wrote:

> Dear sir
>
> wish you are fine !
>
> I am trying to replicate Amber tutorial18
> http://ambermd.org/tutorials/advanced/tutorial18/section1.htm
>
> and I have problem with running cpinutil.py file.
> I have updated it and other related files like cpin_data.py,
> cpin_utilities.py, and readparm.py.


​What do you mean "updated"?



> However, every time i ran this command
> I got the following errors
>
> $AMBERHOME/bin/cpinutil.py -resname HIP GL4 AS4 -p 4lyt.prmtop -o
> 4lyt.cpin
>
> Error " Traceback (most recent call last):
> File "/home/hadeer/software/amber12/bin/cpinutil.py", line 165, in
> <module>
> if not prmtop_object.exists:
> AttributeError: 'AmberParm' object has no attribute 'exists' "
>
> How can I fix this problem ?!


​Something is seriously broken here. Also, Amber 12 is very old at this
point, and 3 versions of AmberTools have been released since then. Try
upgrading to AmberTools 15 and use cpinutil.py from that package instead.

HTH,
Jason

-- 
Jason M. Swails
BioMaPS,
Rutgers University
Postdoctoral Researcher
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Wed Oct 14 2015 - 06:00:06 PDT
Custom Search