Hi Vaheh, Thanks for pointing this out. I just fixed this, am testing, and will push the changes shortly.
Cheers, -- Jason On Tue, Dec 27, 2011 at 11:15 AM, Oganesyan, Vaheh <oganesy...@medimmune.com> wrote: > 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 -- Jason Vertrees, PhD PyMOL Product Manager Schrödinger, LLC (e) jason.vertr...@schrodinger.com (o) +1 (603) 374-7120 ------------------------------------------------------------------------------ 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