Closed msmolens closed 5 years ago
Modernize code to use Girder model singletons [1].
For example, replace
self.model('folder').load(...)
with
from girder.models.folder import Folder Folder().load(...)
and replace
self.model('phase', 'covalic').load(...)
from .models.phase import Phase Phase().load(...)
[1] https://girder.readthedocs.io/en/latest/api-docs.html#models
Fixed in #249
Modernize code to use Girder model singletons [1].
For example, replace
with
and replace
with
[1] https://girder.readthedocs.io/en/latest/api-docs.html#models