Open nrnhines opened 1 year ago
Another implementation method, that makes the existing modeldb API more visible, is to have the modeldb-meta.yaml file additionally contain the "alternative_version"
and perhaps the "modeling_application"
fields. This might make the processing to determine the proper zip download url more clear.
NEURON implementation identifiers are not always identical to model entry identifiers. For example, the entry identifier for the 2005 Traub model is 45539 but the ifc fortran implementation is downloaded if that entry identifier is used for database download. This PR uses the NEURON implementation identifier instead of the entry identifier for
A wrinkle is that a model entry identifier may have multiple distinct NEURON implementation identifiers.
Closes #94
It may be worthwhile to modify this PR so that
data.Model._object_id
continues to refer to the model entry identifier and add adata.Model._zip_id
to refer to the id used for zip file download. Note that the ModelDB.metatdata dictionary now has NEURON implementation identifiers for keys. field to refer to the implementation identifier