Comments (5)
Opt-in to throwing error handler is available new release https://github.com/usnistgov/h5wasm/releases/tag/v0.7.2
from h5web.
Apparently, exception handling is disabled in Emscripten by default. So it might simply be a matter of compiling h5wasm with flag -fwasm-exceptions
.
from h5web.
By default, the HDF5 library error handler function prints to the error stream for every error. This is what is ending up in the users' console. That error handler function can be overridden, but it would require writing a new error handler function in C, and setting that as the default. There don't seem to be a lot of examples of custom error handler functions.
It's possible that the C++ API for for HDF5 has exception handling in it already - but migrating to that API from the C API would also be some work.
from h5web.
There is a PR brewing for raising exceptions in h5wasm here: usnistgov/h5wasm#68
I still have to write some tests, but it seems to work as expected.
from h5web.
Fantastic!! Thanks for looking into this 💯
from h5web.
Related Issues (20)
- Hide the sidebar and the toolbar in h5web/app in react permanently. HOT 2
- Styling regression in dimension mapper
- Add rich display for NXnotes
- NeXus visualization with H5Web/h5wasm unstable? HOT 1
- Support numeric value for X Dimension without Nexus attributes HOT 8
- Support "title" attribute on NXData for plot title HOT 1
- Export of NeXus Data visualization should contain all data HOT 5
- String padding HOT 1
- Show NXentry title in tree HOT 3
- Allow image display for non-opaque dataset HOT 10
- SelectionTool interaction at mouse down
- z-range is only -3..3 HOT 14
- `[RawVis]` Dark mode shouldn't affect raw JPEG/PNG images HOT 1
- Allow fitting Raw Image to window size
- Export Fieldnames in CSV Export for Compound Datatypes
- H5Web both online and in VSCode hang indefinitely HOT 6
- [Matrix] The vis does not allow to distinguish numeric values that are very close HOT 1
- Show field names in Scalar view for Compound Datatypes
- All values are NaN on matrix and heatmap views for large 2D datasets
- Avoid loading data for matrix/heatmap view when selecting a large 2D dataset HOT 1
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 h5web.