Skip to content

Commit

Permalink
Reuse Tabular.displayable() in the inherited method
Browse files Browse the repository at this point in the history
Follow up on #18547 .
  • Loading branch information
nsoranzo committed Dec 17, 2024
1 parent 6546205 commit b100c1e
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions lib/galaxy/datatypes/interval.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,12 +193,7 @@ def set_meta(
def displayable(self, dataset: DatasetProtocol) -> bool:
try:
return (
not dataset.deleted
and not dataset.dataset.purged
and dataset.has_data()
and dataset.state == dataset.states.OK
and dataset.metadata.columns > 0
and dataset.metadata.data_lines != 0
super().displayable(dataset)
and dataset.metadata.chromCol
and dataset.metadata.startCol
and dataset.metadata.endCol
Expand Down

0 comments on commit b100c1e

Please sign in to comment.