UCL-ARC / dirac-swift-api

Repository for the REST API side of the DiRAC-SWIFT project
BSD 3-Clause "New" or "Revised" License
2 stars 1 forks source link

Avoid serializing new _handle attribute of units class. #43

Closed kyleaoman closed 11 months ago

kyleaoman commented 11 months ago

A recent addition to swiftsimio is the _handle attribute for the SWIFTUnits class. This contains an h5py file handle and is therefore not serializable (nor do we need to make it serializable). If present, it's set to None before serialization.