Jverma / HDF5-to-JSON-converter

Converting contents of a HDF5 file into a JSON file.
MIT License
13 stars 10 forks source link

How to use the script #2

Open arcys opened 9 years ago

arcys commented 9 years ago

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!!

ChenMinQi commented 9 years ago

You should "pip install tables".