Re: [AMBER] error message of addLJType of parmed: Action addLJType failed. UnhandledArgumentWarning: 0.0 0.0

From: Jason Swails <jason.swails.gmail.com>
Date: Mon, 03 Nov 2014 12:09:25 -0500

On Tue, 2014-11-04 at 00:11 +0800, sun wrote:
> Hi,
> below are my output error message and input information. ... Any idea?
> thanks.
>
> Ying-chieh
> -------
> command line:
>
> parmed.py -p p82-82Awatbox2-a.prmtop -i s4_5-parmed-vdw-c.in
>
> input file:
> ::::::::::::::
> s4_5-parmed-vdw-c.in
> ::::::::::::::
> setOverwrite True
> addLJType .89 0.0 0.0
> outparm p82-82Awatbox2-b.prmtop
> quit
>
> output with error message:
> Loaded Amber topology file p82-82Awatbox2-a.prmtop
> ['s4_5-parmed-vdw-c.in']
> Reading actions from s4_5-parmed-vdw-c.in
>
> Files are overwritable
> Action addLJType failed
> UnhandledArgumentWarning: 0.0 0.0

Unhandled arguments indicates that you are using the command
incorrectly. Use the "help" function in ParmEd to get the command
syntax:

swails.batman ~ $ parmed.py -n
Reading input from STDIN...
> help addLJType
addLJType <mask> [radius <new_radius>] [epsilon <new_epsilon>]
          [radius_14 <new_radius14>] [epsilon_14 <new_epsilon14>] [parm <idx>|<name>]

    Turns given mask into a new LJ atom type. It uses the radius and Rmin from
    the first atom type in <mask> if new_radius or new_epsilon aren't provided


The syntax for this command has changed slightly since the original
release of ParmEd. The radius and epsilon parameters are now
keyword-input. So you would need to change your command to:

addLJType .89 radius 0.0 epsilon 0.0

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 Mon Nov 03 2014 - 09:30:02 PST
Custom Search