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

Reply via email to