Skip to content

Commit fde7300

Browse files
committed
use find_dataypes in datatypes method
1 parent 0be8cb8 commit fde7300

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/bids_validator/context.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,11 @@ def modalities(self) -> list[str]:
136136
@cached_property
137137
def datatypes(self) -> list[str]:
138138
"""List of datatypes found in the dataset."""
139+
140+
datatypes = self.schema.objects.datatypes
141+
result = self.find_datatypes(self.tree, datatypes)
142+
143+
return list(result)
139144

140145
def find_datatypes(
141146
self,

0 commit comments

Comments
 (0)