Hi Gianluca,

Yes this is possible, assuming you're using PyMOL 1.8.6. Use something like 
this:

def read_mmtfstr(contents, oname, state=0):
    return cmd.load(contents, oname, state, cmd.loadable.mmtfstr)

Cheers,
  Thomas

> On Jun 21, 2017, at 12:07 PM, Gianluca Tomasello <giagi...@gmail.com> wrote:
> 
> Hi, I am using read_pdbstr function to load a strucutres into pymol. Is there 
> a way to do the same for mmtf file formats? (I mean without using temporary 
> files)

--
Thomas Holder
PyMOL Principal Developer
Schrödinger, Inc.


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
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