annotate base/datasets/datasets-file/constructors.lisp @ 251:6a3adca16910
Refactor dataset stuff out of amuse-database-admin, and add midifile-dataset.
author |
Jamie Forth <j.forth@gold.ac.uk> |
date |
Thu, 24 Feb 2011 11:23:18 +0000 |
parents |
|
children |
|
rev |
line source |
j@251
|
1 (cl:in-package #:amuse-datasets)
|
j@251
|
2
|
j@251
|
3 (defun make-midifile-dataset-identifier (dataset-path
|
j@251
|
4 &optional (implementation-package
|
j@251
|
5 *package*))
|
j@251
|
6 "*package* is bound to the package in which the function is called,
|
j@251
|
7 e.g. if you are in-package amuse-midi, the implementation-package will
|
j@251
|
8 be amuse-midi. If you are calling this from within a different
|
j@251
|
9 package, use find-package."
|
j@251
|
10 (make-instance 'midifile-dataset-identifier
|
j@251
|
11 :dataset-path dataset-path
|
j@251
|
12 :implementation-package implementation-package))
|