Skip to content

Commit

Permalink
More lax filter
Browse files Browse the repository at this point in the history
  • Loading branch information
akariv committed Jun 11, 2024
1 parent e274ef3 commit cf9fa3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion odds/common/filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ async def analyze(self, dataset: Dataset) -> bool:
# print('FILTER ANALYZE', dataset.id, len(dataset.resources), all([not r.status_selected for r in dataset.resources]), dataset.versions.get('resource_analyzer') != config.feature_versions.resource_analyzer)
return (
len(dataset.resources) and
all([not r.status_selected for r in dataset.resources])
any([(r.status_selected and not r.status.loaded) for r in dataset.resources])
) or dataset.versions.get('resource_analyzer') != config.feature_versions.resource_analyzer

async def describe(self, dataset: Dataset) -> bool:
Expand Down

0 comments on commit cf9fa3e

Please sign in to comment.