cofdb_submit/main.py
def display(self, cif_str):
        """Update applet to show CIF."""
        from structure import structure_jsmol

        self.jsmol_script_source.data['script'] = [
"""load data "cifstring"
{}
end "cifstring"
""".format(str(cif_str))]
        #print(self.jsmol_script_source.data['script'])
Update applet to show CIF.
Update applet to show CIF.
Update applet to show CIF .
def display(self, cif_str):
        from structure import structure_jsmol
        self.jsmol_script_source.data['script'] = [
"""load data "cifstring"
{}
end "cifstring"
""".format(str(cif_str))]
def display ( self , cif_str ) : from structure import structure_jsmol self . jsmol_script_source . data [ 'script' ] = [ """load data "cifstring"
{}
end "cifstring"
""" . format ( str ( cif_str ) ) ]
Update applet to show CIF.
Update applet to show CIF .
"""Update applet to show CIF.""" #print(self.jsmol_script_source.data['script'])
self
cif_str