Mercurial > hg > amuse
comparison 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 |
comparison
equal
deleted
inserted
replaced
250:b3260d1d2419 | 251:6a3adca16910 |
---|---|
1 (cl:in-package #:amuse-datasets) | |
2 | |
3 (defun make-midifile-dataset-identifier (dataset-path | |
4 &optional (implementation-package | |
5 *package*)) | |
6 "*package* is bound to the package in which the function is called, | |
7 e.g. if you are in-package amuse-midi, the implementation-package will | |
8 be amuse-midi. If you are calling this from within a different | |
9 package, use find-package." | |
10 (make-instance 'midifile-dataset-identifier | |
11 :dataset-path dataset-path | |
12 :implementation-package implementation-package)) |