Mercurial > hg > amuse
view implementations/meredith/tests/import-raph-c-data.lisp @ 301:58a2d76bb243
Export identifier functions from geerdes and meredith.
Ignore-this: 1341ef3f4d06751aaa8d2b40738da9ea
darcs-hash:20090907110447-16a00-71375d69b4929f92a56a76e078949cd4c8fd7a36.gz
author | j.forth <j.forth@gold.ac.uk> |
---|---|
date | Mon, 07 Sep 2009 12:04:47 +0100 |
parents | d22c67dac97d |
children | c9573d61b1b9 |
line wrap: on
line source
(cl:in-package #:amuse-meredith) (asdf:oos 'asdf:load-op 'amuse-meredith) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Tell the database about the new implementation. (amuse-database-admin:register-new-implementation *package*) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Add the datasets to the database (connect-to-database :database-name "test") (create-meredith-tables *amuse-database*) (import-bach-inv+sin *amuse-database*) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Retrieve compositions (defparameter *bach* (get-composition (make-meredith-composition-identifier 1))) (defparameter *bach-dataset* (get-dataset (make-amuse-dataset-identifier 1))) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Tidy up ;;(drop-meredith-tables *amuse-database*) (disconnect-from-database)