annotate implementations/meredith/tests/import-raph-c-data.lisp @ 317:46dd71ef9ab3
Add some more midi setf methods.
Ignore-this: 2e61873995aee02ee7092e76cff9909b
darcs-hash:20100604153347-16a00-6c337a78b01a227049aaa1ce996da506d4951af1.gz
author |
j.forth <j.forth@gold.ac.uk> |
date |
Fri, 04 Jun 2010 16:33:47 +0100 |
parents |
3c5bf3f7b7a0 |
children |
6a3adca16910 |
rev |
line source |
j@286
|
1 (cl:in-package #:amuse-meredith)
|
j@286
|
2
|
j@286
|
3 (asdf:oos 'asdf:load-op 'amuse-meredith)
|
j@286
|
4
|
j@303
|
5 (connect-to-database :database-name "test")
|
j@303
|
6
|
j@286
|
7 ;; Tell the database about the new implementation.
|
j@286
|
8 (amuse-database-admin:register-new-implementation *package*)
|
j@286
|
9
|
j@286
|
10 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
j@286
|
11 ;; Add the datasets to the database
|
j@286
|
12 (create-meredith-tables *amuse-database*)
|
j@286
|
13
|
j@303
|
14 (import-bach-inv+sin *amuse-database*) ; FIXME: return an identifier.
|
j@286
|
15
|
j@286
|
16 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
j@286
|
17 ;; Retrieve compositions
|
j@286
|
18 (defparameter *bach*
|
j@286
|
19 (get-composition (make-meredith-composition-identifier 1)))
|
j@286
|
20
|
j@286
|
21 (defparameter *bach-dataset*
|
j@286
|
22 (get-dataset (make-amuse-dataset-identifier 1)))
|
j@286
|
23
|
j@286
|
24 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
j@286
|
25 ;; Tidy up
|
j@286
|
26 ;;(drop-meredith-tables *amuse-database*)
|
j@286
|
27 (disconnect-from-database)
|