Open
Description
writing sidpy dataset objects to NSID h5 files fails. Consider the line
pyNSID.hdf_io.write_nsid_dataset(results, hf['Measurement_000/Channel_000'], main_data_name="new_spectrum");
This results in the following error.
TypeError Traceback (most recent call last)
//anaconda3/lib/python3.7/site-packages/distributed/protocol/pickle.py in dumps(x)
39 try:
---> 40 result = pickle.dumps(x, protocol=pickle.HIGHEST_PROTOCOL)
41 if len(result) < 1000:
//anaconda3/lib/python3.7/site-packages/h5py/_hl/base.py in __getnewargs__(self)
371 """
--> 372 raise TypeError("h5py objects cannot be pickled")
373
TypeError: h5py objects cannot be pickled
Metadata
Assignees
Labels
No labels
Activity