Skip to content

Commit

Permalink
Add an explanatory comment
Browse files Browse the repository at this point in the history
  • Loading branch information
waxlamp committed Jul 1, 2021
1 parent 7007817 commit fbcf8e1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dandiapi/api/models/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit fbcf8e1

Please sign in to comment.