jverma / hdf5-to-json-converter Goto Github PK
View Code? Open in Web Editor NEWConverting contents of a HDF5 file into a JSON file.
License: MIT License
Converting contents of a HDF5 file into a JSON file.
License: MIT License
Hi,
I am new in python and interested in using this python code to convert the .biom file from hdf5 format to a json one. However it does not sucess:
python HDF5toJSON.py my_file.biom my_fileJ.biom
Traceback (most recent call last):
File "HDF5toJSON.py", line 26, in
h5file = open_file(sys.argv[1])
NameError: name 'open_file' is not defined
Can you show an example on how to use the python code? Thanks a lot!!
This is what I get when I try to convert:
[764:6296:0813/122557:VERBOSE1:crash_service_main.cc(68)] Session start. cmdline is [--reporter-url=https://ticinocrashreporter.azurewebsites.net/crash --application-name=VSCode --v=1]
[764:6296:0813/122558:VERBOSE1:crash_service.cc(142)] window handle is 000B0EB6
[764:6296:0813/122558:VERBOSE1:crash_service.cc(290)] pipe name is .\pipe\VSCode Crash Service
dumps at C:\Users\johnp\AppData\Local\Temp\VSCode Crashes
[764:6296:0813/122558:VERBOSE1:crash_service.cc(294)] checkpoint is C:\Users\johnp\AppData\Local\Temp\VSCode Crashes\crash_checkpoint.txt
server is https://ticinocrashreporter.azurewebsites.net/crash
maximum 128 reports/day
reporter is electron-crash-service
[764:6296:0813/122558:VERBOSE1:crash_service_main.cc(84)] Ready to process crash requests
[764:16632:0813/122558:VERBOSE1:crash_service.cc(323)] client start. pid = 4428
[764:16632:0813/122558:VERBOSE1:crash_service.cc(323)] client start. pid = 5424
[6368:8124:0813/122558:VERBOSE1:crash_service_main.cc(68)] Session start. cmdline is [--reporter-url=https://ticinocrashreporter.azurewebsites.net/crash --application-name=VSCode --v=1]
[6368:8124:0813/122558:VERBOSE1:crash_service.cc(142)] window handle is 00060E68
[6368:8124:0813/122558:VERBOSE1:crash_service.cc(290)] pipe name is .\pipe\VSCode Crash Service
dumps at C:\Users\johnp\AppData\Local\Temp\VSCode Crashes
[6368:8124:0813/122558:VERBOSE1:crash_service.cc(294)] checkpoint is C:\Users\johnp\AppData\Local\Temp\VSCode Crashes\crash_checkpoint.txt
server is https://ticinocrashreporter.azurewebsites.net/crash
maximum 128 reports/day
reporter is electron-crash-service
[6368:8124:0813/122558:ERROR:crash_service.cc(301)] could not start dumper
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.