diff --git a/erna/hdf_utils.py b/erna/hdf_utils.py index 10e5355..5930c5e 100644 --- a/erna/hdf_utils.py +++ b/erna/hdf_utils.py @@ -83,7 +83,7 @@ def write_fits_to_hdf5( if not initialized: initialize_h5py( hdf_file, - array.dtype, + array, key=key, compression=compression, ) diff --git a/setup.py b/setup.py index 1f90e6e..6c4b307 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ setup( name='erna', - version='0.5.0', + version='0.5.1', description='Easy RuN Access. Tools that help to do batch processing of FACT data', url='https://github.com/fact-project/erna', author='Kai Brügge, Jens Buss, Maximilian Nöthe', @@ -26,7 +26,7 @@ 'PyMySQL', # in anaconda 'pytz', # in anaconda 'tables', # needs to be installed by pip for some reason - 'pyfact>=0.10.5', + 'pyfact>=0.14.0', 'astropy', 'h5py', # 'hdf5',