Skip to content

Commit

Permalink
FIX: JSON values need to be evaluated
Browse files Browse the repository at this point in the history
  • Loading branch information
effigies authored Aug 3, 2023
1 parent b1140ee commit 3938aee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bids/layout/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -705,7 +705,7 @@ def __repr__(self):
@reconstructor
def _init_on_load(self):
if self._dtype == 'json':
self.value = self._value
self.value = json.loads(self._value)
self.dtype = 'json'
else:
self.dtype = type_map[self._dtype]
Expand Down

0 comments on commit 3938aee

Please sign in to comment.