Skip to content

Filter tracks - #1724

Merged
jrobinso merged 10 commits into
mainfrom
filter_tracks
Jul 25, 2025
Merged

Filter tracks#1724
jrobinso merged 10 commits into
mainfrom
filter_tracks

Conversation

@jrobinso

Copy link
Copy Markdown
Contributor

No description provided.

@jrobinso
jrobinso requested a review from Copilot July 24, 2025 21:46

This comment was marked as outdated.

jrobinso and others added 5 commits July 24, 2025 14:56
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@jrobinso
jrobinso requested a review from Copilot July 25, 2025 06:58

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR implements a track filtering system that allows users to filter both tracks and samples within variant tracks based on attributes. It replaces the existing abstract filtering framework with a concrete implementation that supports both track-level and sample-level filtering.

  • Refactors the abstract Filter and FilterElement classes into concrete implementations
  • Adds support for filtering samples within VariantTrack through a new TrackFilterEvent
  • Replaces the complex UI components with a simplified TrackFilterDialog

Reviewed Changes

Copilot reviewed 26 out of 26 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
VariantTrack.java Adds sample filtering capability and event handling for filter changes
Filter.java Converts from abstract to concrete class with track and sample evaluation methods
FilterElement.java Simplifies from abstract to concrete class with unified evaluation logic
TrackFilterDialog.java New simplified dialog for configuring filters
FilterTracksMenuAction.java Streamlined to use new dialog and event system
TrackFilterEvent.java New event class for communicating filter changes
Multiple deleted files Removes old abstract filtering components and UI classes

Comment thread src/main/java/org/broad/igv/variant/VariantTrack.java Outdated
Comment thread src/main/java/org/broad/igv/variant/VariantTrack.java
Comment thread src/main/java/org/broad/igv/util/Filter.java Outdated
Comment thread src/main/java/org/broad/igv/util/Filter.java Outdated
Comment thread src/main/java/org/broad/igv/util/FilterElement.java
Comment thread src/main/java/org/broad/igv/ui/TrackFilterDialog.java
jrobinso and others added 3 commits July 25, 2025 08:20
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@jrobinso
jrobinso merged commit 2e8bafc into main Jul 25, 2025
2 checks passed
@jrobinso
jrobinso deleted the filter_tracks branch July 25, 2025 15:26
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.

2 participants