Mercurial > hg > amuse
view 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 |
line wrap: on
line source
(cl:in-package #:amuse-datasets) (defun make-midifile-dataset-identifier (dataset-path &optional (implementation-package *package*)) "*package* is bound to the package in which the function is called, e.g. if you are in-package amuse-midi, the implementation-package will be amuse-midi. If you are calling this from within a different package, use find-package." (make-instance 'midifile-dataset-identifier :dataset-path dataset-path :implementation-package implementation-package))