Skip to content

Commit

Permalink
Ensure dataset context is cleared always
Browse files Browse the repository at this point in the history
  • Loading branch information
akariv committed Jun 11, 2024
1 parent e5523ae commit d44656a
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
any([(r.status_selected and not r.status.loaded) 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 d44656a

Please sign in to comment.