Hi Alex,
That's "Unix order", i.e. the same order that the 'ls' command returns them.  ChimeraX is using Python's "glob" module to expand "*.pdb" into a list of file names.  Therefore you could use a different "glob" to get the order you want, namely "open ?.pdb ??.pdb ???.pdb" (with folder names prepended if necessary.

--Eric

Eric Pettersen
UCSF Computer Graphics Lab


On Oct 13, 2023, at 8:58 AM, Alexander Hung Lee via ChimeraX-users <chimerax-users@cgl.ucsf.edu> wrote:

I have a series of pdb's in a folder numbered 1 - 500 (so 1.pdb ... 500.pdb). I'm opening them in ChimeraX using *.pdb. 

I'm expecting 1.pdb to have ID1 and 2.pdb to to be ID2, but it appears ChimeraX is only looking at the first digit and not the whole number. Is there a way around this?
For now, my work around is to use 001, 002 ... 500 instead
<image.png>

Alex Lee
PhD Student
Department of Biochemistry & Molecular Biology
Complex Carbohydrate Research Center
University of Georgia 

315 Riverbend Rd.
Athens, GA  30602
Mobile: (470) 641-3884
_______________________________________________
ChimeraX-users mailing list -- chimerax-users@cgl.ucsf.edu
To unsubscribe send an email to chimerax-users-leave@cgl.ucsf.edu
Archives: https://mail.cgl.ucsf.edu/mailman/archives/list/chimerax-users@cgl.ucsf.edu/