Skip to content

Commit

Permalink
Merge pull request #1311 from danlamanna/fix-wait-until-valid
Browse files Browse the repository at this point in the history
  • Loading branch information
jjnesbitt committed Jul 18, 2023
2 parents 4cde72f + 682a150 commit 71bd0fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dandi/dandiapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -1023,7 +1023,7 @@ def wait_until_valid(self, max_time: float = 120) -> None:
start = time()
while time() - start < max_time:
v = self.get_version(self.version_id)
if v.status is VersionStatus.VALID:
if v.status is VersionStatus.VALID and not v.asset_validation_errors:
return
sleep(0.5)
# TODO: Improve the presentation of the error messages
Expand Down

0 comments on commit 71bd0fe

Please sign in to comment.