Article View: sci.techniques.xtallography
Article #48CNS script: uppercase filenames.
From: Walter Lloyd Ash
Date: Thu, 13 Jun 2002 23:03
Date: Thu, 13 Jun 2002 23:03
14 lines
1741 bytes
1741 bytes
I'm using CNS to load coordinate files from a list, one at a time, with the following line: for $filename in ( @@ list.txt ) loop clusterit do some stuff to $filename end loop clusterit The problem I'm having is that CNS is capitalizing every line it pulls from $clusterfile, and this is problematic because I have mixed-case filenames and therefore can't actually do anything with the $filename variable as it does not match the actual filename I'm trying to access. Does anybody have any insight? I'd rather not capitalize every filename, because I have a huge pile of structures and a number of other CNS scripts that expect a certain file naming convention and capitalization.
Technical Details
Message-ID:
<Pine.A41.4.10.10206131655380.72352-100000@acs1.acs.ucalgary.ca>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!rover.ucs.ualberta.ca!news.ucalgary.ca!acs1.acs.ucalgary.ca!wlashShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fcf0b,2da45acf6dbcbf59,start X-Google-Attributes: gidfcf0b,public X-Google-Thread: f804b,2da45acf6dbcbf59,start X-Google-Attributes: gidf804b,public X-Google-ArrivalTime: 2002-06-13 16:30:25 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!rover.ucs.ualberta.ca!news.ucalgary.ca!acs1.acs.ucalgary.ca!wlash From: Walter Lloyd Ash <wlash@ucalgary.ca> Newsgroups: sci.techniques.xtallography,bionet.xtallography Subject: CNS script: uppercase filenames. Date: Thu, 13 Jun 2002 17:03:40 -0600 Organization: University of Calgary Lines: 16 Message-ID: <Pine.A41.4.10.10206131655380.72352-100000@acs1.acs.ucalgary.ca> NNTP-Posting-Host: wlash@acs1.acs.ucalgary.ca Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: nserve1.acs.ucalgary.ca 1024009441 33544 136.159.34.221 (13 Jun 2002 23:04:01 GMT) X-Complaints-To: news@ucalgary.ca NNTP-Posting-Date: 13 Jun 2002 23:04:01 GMT X-Sender: wlash@acs1.acs.ucalgary.ca