cmd.load("dat/pept.pdb")
None
cmd.load("dat/nonexistent.pdb")
ExecutiveProcessPDBFile-Error: Unable to open file 'dat/nonexistent.pdb'.
-1
ExecutiveProcessPDBFile-Error: Unable to open file 'dat/nonexistent.pdb'.
CmdException raised.
cmd.load("dat/small01.mol")
None
cmd.load("dat/nonexistent.mol")
ExecutiveLoad-Error: Unable to open file 'dat/nonexistent.mol'.
-1
ExecutiveLoad-Error: Unable to open file 'dat/nonexistent.mol'.
CmdException raised.
cmd.load("dat/ligs3d.sdf")
None
cmd.load("dat/nonexistent.sdf")
ExecutiveLoad-Error: Unable to open file 'dat/nonexistent.sdf'.
-1
ExecutiveLoad-Error: Unable to open file 'dat/nonexistent.sdf'.
CmdException raised.
cmd.load("dat/small03.mol2")
None
cmd.load("dat/nonexistent.mol2")
ExecutiveLoad-Error: Unable to open file 'dat/nonexistent.mol2'.
-1
ExecutiveLoad-Error: Unable to open file 'dat/nonexistent.mol2'.
CmdException raised.
cmd.load("dat/pept.r3d")
None
cmd.load("dat/nonexistent.r3d")
Load-Error: Unable to open file 'dat/nonexistent.r3d'.
-1
Load-Error: Unable to open file 'dat/nonexistent.r3d'.
CmdException raised.
cmd.load("dat/pept.pkl")
None
cmd.load("dat/nonexistent.pkl")
Load-Error: Unable to load file 'dat/nonexistent.pkl'.
-1
Load-Error: Unable to load file 'dat/nonexistent.pkl'.
CmdException raised.
cmd.get_names()
['small01', 'ligs3d', 'small03', 'pept']
cmd.delete("all")
None
cmd.get_names()
[]
cmd.get_model("nonexistent")
Selector-Error: Invalid selection name "nonexistent".
( nonexistent )<--
-1
Selector-Error: Invalid selection name "nonexistent".
( nonexistent )<--
CmdException raised.
cmd.space("cmyk")
 Color: loaded table '/opt/pymol-1.2r2/data/pymol/cmyk.png'.
None
cmd.space("unknown")
Error: unknown color space 'unknown'.
-1
Error: unknown color space 'unknown'.
CmdException raised.
cmd.space("rgb")
 Color: purged table; restoring RGB colors.
None
cmd.space()
None
chempy.models.Indexed
107
chempy.models.Indexed
0
cmd.get_model("nonexistent")
Selector-Error: Invalid selection name "nonexistent".
( nonexistent )<--
-1
Selector-Error: Invalid selection name "nonexistent".
( nonexistent )<--
CmdException raised.
cmd.create("test","none",quiet=0)
 Selector: found 0 atoms.
 Executive: object "test" created.
None
cmd.create("test2","nonexistent")
Selector-Error: Invalid selection name "nonexistent".
( nonexistent )<--
-1
Selector-Error: Invalid selection name "nonexistent".
( nonexistent )<--
CmdException raised.
cmd.create("test3","?allowed",quiet=0)
 Selector: found 0 atoms.
 Executive: object "test3" created.
None
cmd.fragment("arg")
None
cmd.fragment("nonexistent")
Error: unable to load fragment 'nonexistent'.
-1
Error: unable to load fragment 'nonexistent'.
CmdException raised.
cmd.distance("none","none","none")
-1.0
cmd.distance("none","invalid1","none")
Selector-Error: Invalid selection name "invalid1".
( invalid1 )<--
-1
Selector-Error: Invalid selection name "invalid1".
( invalid1 )<--
CmdException raised.
cmd.distance("none","none","invalid2")
Selector-Error: Invalid selection name "invalid2".
( invalid2 )<--
-1
Selector-Error: Invalid selection name "invalid2".
( invalid2 )<--
CmdException raised.
cmd.distance("none","invalid1","invalid2")
Selector-Error: Invalid selection name "invalid1".
( invalid1 )<--
Selector-Error: Invalid selection name "invalid2".
( invalid2 )<--
-1
Selector-Error: Invalid selection name "invalid1".
( invalid1 )<--
Selector-Error: Invalid selection name "invalid2".
( invalid2 )<--
CmdException raised.
cmd.index("none")
[]
cmd.index("first pept")
[('pept', 1)]
cmd.index("invalid")
Selector-Error: Invalid selection name "invalid".
( invalid )<--
-1
Selector-Error: Invalid selection name "invalid".
( invalid )<--
CmdException raised.
cmd.identify("none")
[]
cmd.identify("first pept")
[1]
cmd.identify("invalid")
Selector-Error: Invalid selection name "invalid".
( invalid )<--
-1
Selector-Error: Invalid selection name "invalid".
( invalid )<--
CmdException raised.
cmd.identify("none",mode=1)
[]
cmd.identify("first pept",mode=1)
[('pept', 1)]
cmd.identify("invalid",mode=1)
Selector-Error: Invalid selection name "invalid".
( invalid )<--
-1
Selector-Error: Invalid selection name "invalid".
( invalid )<--
CmdException raised.
cmd.count_atoms("none")
0
cmd.count_atoms()
107
cmd.count_atoms("pept")
107
cmd.count_atoms("invalid")
Selector-Error: Invalid selection name "invalid".
( invalid )<--
-1
Selector-Error: Invalid selection name "invalid".
( invalid )<--
CmdException raised.
cmd.count_frames()
1
cmd.count_states()
1
cmd.count_states("all")
1
cmd.count_states("none")
0
cmd.count_states("invalid")
Selector-Error: Invalid selection name "invalid".
invalid<--
-1
Selector-Error: Invalid selection name "invalid".
invalid<--
CmdException raised.
cmd.get_area()
1381.18615723
cmd.get_area("resi 1")
107.905807495
cmd.get_area("none")
0.0
cmd.get_area("invalid")
Selector-Error: Invalid selection name "invalid".
( invalid )<--
-1.0
cmd.get_chains()
['E']
cmd.get_chains("pept")
['E']
cmd.get_chains("resi 1")
['E']
cmd.get_chains("none")
[]
cmd.get_chains("invalid")
Selector-Error: Invalid selection name "invalid".
( invalid )<--
-1
Selector-Error: Invalid selection name "invalid".
( invalid )<--
CmdException raised.
cmd.zoom()
None
cmd.zoom("pept")
None
cmd.zoom("none")
ExecutiveWindowZoom-Warning: selection doesn't specify any coordinates.
None
cmd.zoom("invalid")
Selector-Error: Invalid selection name "invalid".
invalid<--
-1
Selector-Error: Invalid selection name "invalid".
invalid<--
QuietException raised.
cmd.center()
None
cmd.center("pept")
None
cmd.center("none")
ExecutiveCenter-Warning: selection doesn't specify any coordinates.
None
cmd.center("invalid")
Selector-Error: Invalid selection name "invalid".
invalid<--
-1
Selector-Error: Invalid selection name "invalid".
invalid<--
QuietException raised.
