The easiest solution might be to strip all empty lines with a little 
filter the first thing when you get the files from a user.

Bob

Alan Hewat wrote:

>At 09:57 30/08/2006, Bob wrote:
>  
>
>>I think it should be recognized that Jmol makes no promise to read all 
>>possible CIF files...
>>    
>>
>
>No problem with that Bob. I am amazed that Jmol does so well with all the CIFs 
>I threw at it. I have installed your 30th August version on 
>http://icsd.ill.fr/icsd/help/CIF-help.html
>
>  
>
>>I've fixed the CIF-reader-doesn't-read-blank-lines bug)
>>    
>>
>
>That was quick! But I found another case where a blank line still throws it 
>:-) Again this is in a user generated CIF so not so important, even though it 
>passes the CIF checker.
>
>  
>
>>loop_
>>
>>   _symmetry_equiv_pos_as_xyz    
>>   'x, y, z'
>>    
>>
>
>Mind you, I don't know why anyone would want to put a blank line there. Alan.  
>_____________________________________________________________
>Dr Alan Hewat, ILL Grenoble, FRANCE<[EMAIL PROTECTED]>fax+33.476.20.76.48
>+33.476.20.72.13 (.26 Mme Guillermet) http://www.ill.fr/dif/AlanHewat.htm 
>_____________________________________________________________
>
>
>-------------------------------------------------------------------------
>Using Tomcat but need to do more? Need to support web services, security?
>Get stuff done quickly with pre-integrated technology to make your job easier
>Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>_______________________________________________
>Jmol-users mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/jmol-users
>  
>


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to