def get_path(self, obj, default):
        """Return a relative or absolute path to experimental data."""
        path = obj.get("path")
        if path is None:
            path = join(self._base, default)
        if not isabs(path):
            path = join(self._base, path)
        return path
def get_path ( self , obj , default ) : path = obj . get ( "path" ) if path is None : path = join ( self . _base , default ) if not isabs ( path ) : path = join ( self . _base , path ) return path
Return a relative or absolute path to experimental data.