osPlanning / omx

Open Matrix (OMX)
https://github.com/osPlanning/omx/wiki
Apache License 2.0
49 stars 18 forks source link

Can we have a Javascript library for OMX? #32

Closed jeabraham closed 3 years ago

jeabraham commented 6 years ago

Has anyone tackled Javascript yet for reading OMX matrix files?

Looks like there's an hdf5 library https://www.npmjs.com/package/hdf5

We have this most awesome matrix viewer/clusterer that works in the browser written in multithreaded Javascript.

bstabler commented 6 years ago

I have not. I was interested in developing an HDF5 reader for an online visualization tool for a different project, but was disappointed to learn that the only HDF5 JS library I could find (and which you cite above) requires Node JS.

jeabraham commented 6 years ago

Thanks @bstabler I'm not a JS expert but know a summer intern working on this who is. Would she be able to explain to me why the Node JS dependency is a problem?

bstabler commented 6 years ago

I guess it depends on how you plan to deploy the site/server. I was planning to use gh-pages, which doesn't support node.js (although maybe it does with harp)

https://stackoverflow.com/questions/15718649/how-to-publish-a-website-made-by-node-js-to-github-pages