Skip to content

Commit

Permalink
Making sure the method which sets the attribute has been run
Browse files Browse the repository at this point in the history
  • Loading branch information
TheChymera committed Dec 6, 2022
1 parent d9ccf8b commit 1e2d6e7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dandi/files/bids.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ def get_metadata(
return BareAsset(**metadata)

def get_validation_bids_version(self) -> str:
self._validate()
assert self.bids_dataset_description._bids_version is not None
return self.bids_dataset_description._bids_version

Expand Down

0 comments on commit 1e2d6e7

Please sign in to comment.