Search:
Login
Preferences
Help/Guide
About Trac
Wiki
Timeline
Roadmap
View Tickets
Search
Context Navigation
Back to Ticket #74
Ticket #74
: test2.py
File test2.py,
234 bytes
(added by
Tom Goddard
,
11 years ago
)
Line
1
def
test
(
session
,
atoms
,
path
):
2
print
(
'got path'
,
path
)
3
4
from
chimera.core
import
cli
,
atomspec
5
test_desc
=
cli
.
CmdDesc
(
required
=
[(
'atoms'
,
atomspec
.
AtomSpecArg
),
(
'path'
,
cli
.
StringArg
)])
6
cli
.
register
(
'test'
,
test_desc
,
test
)
Download in other formats:
Original Format