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
error: Module.open is not a function
version: 0.7.8
env: esm
letf=newh5wasm.File(this._fileName,'r')// error: Module.open is not a function
Temporary solution:
Change the file hdf5'hl.js generated by packaging
exportclassFileextendsGroup{constructor(filename,mode="r",track_order=false){letfile_id;//<< restoreconstaccess_mode=ACCESS_MODES[mode];consth5_mode=Module[access_mode];//const file_id = Module.open(filename, h5_mode, track_order);//<< restoreif(['H5F_ACC_TRUNC','H5F_ACC_EXCL'].includes(access_mode)){file_id=Module.ccall("H5Fcreate","bigint",["string","number","bigint","bigint"],[filename,h5_mode,0n,0n]);}else{// then it is an existing file...file_id=Module.ccall("H5Fopen","bigint",["string","number","bigint"],[filename,h5_mode,0n]);}// >>super(file_id,"/");this.filename=filename;this.mode=mode;}``
The text was updated successfully, but these errors were encountered:
error: Module.open is not a function
version: 0.7.8
env: esm
Temporary solution:
Change the file hdf5'hl.js generated by packaging
The text was updated successfully, but these errors were encountered: