Skip to content

Commit

Permalink
Merge pull request #18526 from mvdbeek/fix_no_data_dataprovider
Browse files Browse the repository at this point in the history
[24.1] Check if dataset has any data before running provider checks
  • Loading branch information
mvdbeek authored Jul 11, 2024
2 parents 46057b2 + 05e474e commit ce36118
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/galaxy/webapps/galaxy/services/datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -845,7 +845,7 @@ def _converted_datasets_state(
data_provider = self.data_provider_registry.get_data_provider(
trans, original_dataset=dataset, source="index"
)
if not data_provider.has_data(chrom):
if not dataset.has_data() or not data_provider.has_data(chrom):
return dataset.conversion_messages.NO_DATA

# Have data if we get here
Expand Down

0 comments on commit ce36118

Please sign in to comment.