Ticket #74: test2.py

File test2.py, 234 bytes (added by Tom Goddard, 11 years ago)
Line 
1def test(session, atoms, path):
2 print ('got path', path)
3
4from chimera.core import cli, atomspec
5test_desc = cli.CmdDesc(required = [('atoms', atomspec.AtomSpecArg), ('path', cli.StringArg)])
6cli.register('test', test_desc, test)