1999-10-26 21:41:07 +00:00
|
|
|
# If this was a restart directive with only the python data and task,
|
|
|
|
|
# an old database could be edited.
|
|
|
|
|
#
|
2000-10-13 18:09:21 +00:00
|
|
|
# As an example, here, we populate a new database with some
|
1999-10-26 21:41:07 +00:00
|
|
|
# geometry and basis information
|
|
|
|
|
#
|
|
|
|
|
# Make sure that the directory containing Xrtdb.py is in your PYTHONPATH
|
|
|
|
|
|
1999-10-26 19:52:01 +00:00
|
|
|
start
|
|
|
|
|
|
|
|
|
|
basis noprint
|
|
|
|
|
c library 3-21g
|
|
|
|
|
o library 3-21g
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
geometry noprint autosym
|
|
|
|
|
c 0 0 0
|
|
|
|
|
o 1 0 0
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
python noprint
|
1999-10-26 21:41:07 +00:00
|
|
|
from Xrtdb import *
|
|
|
|
|
Xrtdb()
|
1999-10-26 19:52:01 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
|
|
task python
|