def save(filename, selection='(all)', state=-1, format='', ref='', ref_state=-1, quiet=1, *args, _self=cmd, **kwargs): ''' ADDITIONAL NOTE This is an overloaded version of the 'save' command that also saves secondary structure and crystal information, if available. ''' if not (format == 'pdb' or format == '' and filename.endswith('.pdb')): from pymol.exporting import save return save(filename, selection, state, format, ref, ref_state, quiet, *args, **kwargs, _self=_self) save_pdb(filename, selection, state, 1, 1, 0, quiet, _self=_self)
def save(filename, selection="(all)", state=-1, format="", ref="", ref_state=-1, quiet=1, *args, **kwargs): """ ADDITIONAL NOTE This is an overloaded version of the 'save' command that also saves secondary structure and crystal information, if available. """ if not (format == "pdb" or format == "" and filename.endswith(".pdb")): from pymol.exporting import save return save(filename, selection, state, format, ref, ref_state, quiet, *args, **kwargs) save_pdb(filename, selection, state, 1, 1, 0, quiet)
def save(filename, selection='(all)', state=-1, format='', ref='', ref_state=-1, quiet=1, *args, **kwargs): ''' ADDITIONAL NOTE This is an overloaded version of the 'save' command that also saves secondary structure and crystal information, if available. ''' if not (format == 'pdb' or format == '' and filename.endswith('.pdb')): from pymol.exporting import save return save(filename, selection, state, format, ref, ref_state, quiet, *args, **kwargs) save_pdb(filename, selection, state, 1, 1, 0, quiet)