I have got the same problem with pymol 1.5.0.4 and restarting the computer is not fixing it.
Any help please? Thanks Stefano Le 27/12/2011 20:19, Oganesyan, Vaheh a écrit : > Never mind. After restarting the computer fasta file is being written. > > Vaheh > > > > > -----Original Message----- > From: Oganesyan, Vaheh [mailto:oganesy...@medimmune.com] > Sent: Tuesday, December 27, 2011 11:16 AM > To: pymol-users@lists.sourceforge.net > Subject: [PyMOL] sequence file extraction > > I'm using ver. 1.4.1 and it looks like PyMOL recently lost the ability to > extract the sequence info. > I'm typing "save objectname.fasta" in old version and get the fasta file. In > 1.4.1 it complains > ========================= > Traceback (most recent call last): > File "C:\Program Files\PyMOL\PyMOL/modules\pymol\parser.py", line 254, in > parse > self.result=apply(layer.kw[0],layer.args,layer.kw_args) > File "C:\Program Files\PyMOL\PyMOL/modules\pymol\exporting.py", line 535, > in save > st = _self.get_fastastr(selection) > File "C:\Program Files\PyMOL\PyMOL/modules\pymol\exporting.py", line 178, > in get_fastastr > if seq.has_key(obj): > AttributeError: 'str' object has no attribute 'has_key' > ========================= > > Is there now a different way of extracting sequence info in PyMOL? > > Thank you. > > Vaheh > To the extent this electronic communication or any of its attachments contain > information that is not in the public domain, such information is considered > by MedImmune to be confidential and proprietary. This communication is > expected to be read and/or used only by the individual(s) for whom it is > intended. If you have received this electronic communication in error, please > reply to the sender advising of the error in transmission and delete the > original message and any accompanying documents from your system immediately, > without copying, reviewing or otherwise using them for any purpose. Thank you > for your cooperation. > > ------------------------------------------------------------------------------ > Write once. Port to many. > Get the SDK and tools to simplify cross-platform app development. Create > new or port existing apps to sell to consumers worldwide. Explore the > Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join > http://p.sf.net/sfu/intel-appdev > _______________________________________________ > 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 > To the extent this electronic communication or any of its attachments contain > information that is not in the public domain, such information is considered > by MedImmune to be confidential and proprietary. This communication is > expected to be read and/or used only by the individual(s) for whom it is > intended. If you have received this electronic communication in error, please > reply to the sender advising of the error in transmission and delete the > original message and any accompanying documents from your system immediately, > without copying, reviewing or otherwise using them for any purpose. Thank you > for your cooperation. > > ------------------------------------------------------------------------------ > Write once. Port to many. > Get the SDK and tools to simplify cross-platform app development. Create > new or port existing apps to sell to consumers worldwide. Explore the > Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join > http://p.sf.net/sfu/intel-appdev > _______________________________________________ > 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 > -- Dr. Stefano MARZI UPR 9002 CNRS-ARN Université De Strasbourg IBMC 15 Rue René Descartes 67084 Strasbourg-France Phone +33 (0)3 88417051 Fax: +33 (0)3 88602218 E-mail: s.ma...@ibmc-cnrs.unistra.fr http://www-ibmc.u-strasbg.fr/arn/Romby/ ------------------------------------------------------------------------------ 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