phoenix
phoenix copied to clipboard
fix: Fix handling of ATLAS AOD files with specific compression method
Fixes #44
Update JSRootEventLoader to handle unsupported compression method for ATLAS AOD files.
- Add import for the compression library in
packages/phoenix-event-display/src/loaders/jsroot-event-loader.ts. - Modify
getEventDatamethod to handle unsupported compression errors. - Add
handleUnsupportedCompressionmethod to decompress data and read objects from the file. - Add tests in
packages/phoenix-event-display/src/tests/loaders/jsroot-event-loader.test.tsto verify handling of ATLAS AOD files with the new compression method.