diff --git a/dandiapi/api/models/version.py b/dandiapi/api/models/version.py index 691d90e0b..18cb9879e 100644 --- a/dandiapi/api/models/version.py +++ b/dandiapi/api/models/version.py @@ -274,6 +274,8 @@ def _populate_metadata(self, version_with_assets: Version = None): 'numberOfBytes': 0, 'numberOfFiles': 0, } + # TODO: remove the `and False` and find a better way to handle the + # unconditional recomputation of the summary stats. if version_with_assets.id and False: try: summary = aggregate_assets_summary(