From: Jeffrey A Tibbitt (jtibbitt_at_hawaii.edu)
Date: Thu Mar 29 2018 - 03:29:19 CDT

Thanks. I must have had a bug in my code before. It works now.

On Wed, Mar 28, 2018 at 9:23 PM, Monika Madhavi <monikamadhavi_at_gmail.com>
wrote:

> Hi Jeffrey,
>
> You can do what you want to do the exact way you have shown here.
>
> Best,
> Monika
>
> On Thu, Mar 29, 2018 at 12:13 PM, Jeffrey A Tibbitt <jtibbitt_at_hawaii.edu>
> wrote:
>
>> Hi, is there a way to create an atom selection for a list of atom indices?
>>
>> I'm trying to do something like the following:
>> set atomlist {1 3 7 11} ;# Atoms 1,
>> 3, 7 and 11
>> set sel [atomselect top "index $atomlist"] ;# Create selection
>> containing those atoms
>>
>> --
>> *Jeffrey A Tibbitt*
>> Lecturer of Chemistry
>> University of Hawai'i - Maui College
>>
>
>
>
> --
> W.A.Monika Madhavi
> Lecturer (Probation),
> Department of Physics,
> University of Colombo.
>

-- 
*Jeffrey A Tibbitt*
Lecturer of Chemistry
University of Hawai'i - Maui College