From: John Stone (johns_at_ks.uiuc.edu)
Date: Fri May 24 2002 - 12:02:42 CDT

Mark,
  This is a script that we missed updating to work with the
newer versions of VMD. The cure for scripts using "luniq" is
typically to replace "luniq" with either "lsort -integer -unique" or
with "lsort -unique", which typically gives comparable results
(as long as sorting the data is ok and doesn't have side effects...)
Try using "lsort -unique" in that metal_environment script in place
of "luniq" and let us know if that cures your problem. If that works,
well, then I'll update the code in the script library as well.

Thanks,
  John Stone
  vmd_at_ks.uiuc.edu

On Fri, May 24, 2002 at 12:38:00PM -0400, Storr, Mark wrote:
> Hi,
>
> I am trying to run the metal_environment script, however upon trying to do
> so VMD gives the 'luniq invalid command name'. In addition from looking
> through the script I do not recognise the replicate command in the script.
> I was therefore wondering if anyone has used this script and if so how these
> problems were overcome.
>
> Thanks
>
> Mark
>

-- 
NIH Resource for Macromolecular Modeling and Bioinformatics
Beckman Institute for Advanced Science and Technology
University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801
Email: johns_at_ks.uiuc.edu                 Phone: 217-244-3349              
  WWW: http://www.ks.uiuc.edu/~johns/      Fax: 217-244-6078