You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're creating a Seed class that inherits from HDF5ArraySeed but overwrites path() to dynamically point to resources at different realized filepaths; a similar solution to that in #20 but for our internal datasets.
It almost works, but we need to hack around the validity method in HDF5ArraySeed so that it doesn't actually try to look up the file in @filepath (which is only guaranteed to exist when calling path(), via our internal caching mechanism).
It might be possible to use path() in the validity method, and then everything would just work off the bat.
The text was updated successfully, but these errors were encountered:
Also, if extensions of this nature are supported, we should stress that any methods for path() must return a normalized or path.expand()ed path. Got hit by rappdirs updates that started reporting ~ in the path and h5mread didn't like it.
We're creating a Seed class that inherits from
HDF5ArraySeed
but overwritespath()
to dynamically point to resources at different realized filepaths; a similar solution to that in #20 but for our internal datasets.It almost works, but we need to hack around the validity method in
HDF5ArraySeed
so that it doesn't actually try to look up the file in@filepath
(which is only guaranteed to exist when callingpath()
, via our internal caching mechanism).It might be possible to use
path()
in the validity method, and then everything would just work off the bat.The text was updated successfully, but these errors were encountered: