Hi Martin, I might be missing something but a little more information might help as to what you want to do. agreed, a file extension can be changed to anything but viewing the text file should tell you the type (of coordinate file). If you are doing this in batch mode then I guess a script would help!
Joel -----Original Message----- From: Martin Hediger [mailto:ma....@bluewin.ch] Sent: Wednesday, 27 June 2012 10:01 p.m. To: pymol-users@lists.sourceforge.net Subject: [PyMOL] Verify PDB format Dear PyMOL users Does anybody know a script to verify that a file contains valid a valid PDB formatted structure? The file extension alone obviously does not provide sufficient validation. Thanks for any feedback. Martin ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net) Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net) Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net