1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242
|
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 '/Users/delwarl/pymol/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.
|