[Chimera-users] FW: Association info

Hernando J Sosa hernando.sosa at einstein.yu.edu
Wed May 8 08:48:25 PDT 2019


Thanks Eric, it works. To summarize:

#----------------------------------------------------------------------
def findMAV():
    from chimera.extension import manager
    from MultAlignViewer.MAViewer import MAViewer
    mavs = [inst for inst in manager.instances if isinstance(inst, MAViewer)]
    if not mavs:
            raise AssertionError("No MAV instances")
    return mavs[-1]
#----------------------------------------------------------------------
mav = findMAV()
mav.saveAssocInfo('myfile.asc')
#----------------------------------------------------------------------

Best

Hernando


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20190508/49c4de23/attachment.html>


More information about the Chimera-users mailing list