Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Fix handling of ATLAS AOD files with specific compression method #710

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

AritraDey-Dev
Copy link

@AritraDey-Dev AritraDey-Dev commented Jan 6, 2025

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 getEventData method to handle unsupported compression errors.
  • Add handleUnsupportedCompression method to decompress data and read objects from the file.
  • Add tests in packages/phoenix-event-display/src/tests/loaders/jsroot-event-loader.test.ts to verify handling of ATLAS AOD files with the new compression method.

For more details, open the Copilot Workspace session.

Fixes HSF#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 `getEventData` method to handle unsupported compression errors.
* Add `handleUnsupportedCompression` method to decompress data and read objects from the file.
* Add tests in `packages/phoenix-event-display/src/tests/loaders/jsroot-event-loader.test.ts` to verify handling of ATLAS AOD files with the new compression method.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/HSF/phoenix/issues/44?shareId=XXXX-XXXX-XXXX-XXXX).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Investigate opening ATLAS AOD files directly via jsroot
1 participant