Comments (7)
After a quick look in the code, ExternalLinks
are indeed not yet supported. The fact that you can resolve them by using the same name is an edge case and even so, I am not convinced it works fully.
Some work in the extension is needed to handle the cases where the data comes from different files.
from jupyterlab-hdf5.
v0.8.0 adds a setting to enable link resolution. Closing this then.
from jupyterlab-hdf5.
If I understand correctly, you can only resolve the external link if the name of the external link matches the name of the group/dataset it links to ?
from jupyterlab-hdf5.
If I understand correctly, you can only resolve the external link if the name of the external link matches the name of the group/dataset it links to ?
Yes, indeed.
from jupyterlab-hdf5.
I cannot reproduce @icoert's original issue. The following code
with h5py.File('atomicfile.hdf5', 'w') as f:
dataset = np.random.rand(100)
f.create_dataset('testset', data=dataset)
with h5py.File('linkfile.hdf5', 'w') as f:
f['foo'] = h5py.ExternalLink('atomicfile.hdf5', '/')
print(f['foo/testset'])
prints out
<HDF5 dataset "testset": shape (100,), type "<f8">
which is exactly what you'd expect.
In any case, this seems more an issue for h5py
than like an issue we should be dealing with in this PR. @icoert Were you having trouble with the Jupyterlab extension jupyterlab_hdf5
, or was the issue just with the example h5py
code that you posted?
from jupyterlab-hdf5.
In any case, this seems more an issue for h5py than like an issue we should be dealing with in this PR. @icoert Were you having trouble with the Jupyterlab extension jupyterlab_hdf5, or was the issue just with the example h5py code that you posted?
@telamonian, I am encountering the problem inside the viwer, it seems it's not related to h5py
.
from jupyterlab-hdf5.
v0.7.0 now explicitly handles external and soft links.
Clicking on a link allows see to where it points but does not resolve it for now.
from jupyterlab-hdf5.
Related Issues (20)
- File Load Error for etf.hdf5 , etf.hdf5 is not UTF-8 encoded HOT 5
- conda-forge packaging HOT 1
- Display one-dimensional data vertically HOT 4
- Display attributes more like datasets HOT 6
- 1.2.0 commit is at the wrong place in the history HOT 1
- Double clicking above the files of the FileBrowser still opens the file
- h5grove version HOT 2
- Jupyterlab-hdf5 does not currently support JupyterLab 4.x HOT 5
- Fixup new error handling
- Result of `hdf/attrs` endpoint is not consistent with the API doc HOT 3
- Proposals to improve the backend HOT 4
- change type of index labels from slice to range
- Modernize signature of `get` method in backend HOT 1
- [Discussion] Keep/remove `id` from backend response ? HOT 1
- Support of compression filters HOT 1
- Include group links in `/hdf/meta` endpoint response HOT 2
- typescript 4.1.3 is too new for jlab 2.x
- Support for h5py special types
- 404 instead of 500 when entity not found at given path
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jupyterlab-hdf5.