Skip to content
Snippets Groups Projects
Commit 424c5b99 authored by Henrik tom Wörden's avatar Henrik tom Wörden
Browse files

Update dataset_cfood.py

parent 416eeb3c
No related branches found
No related tags found
1 merge request!9F bids
Pipeline #11885 failed
......@@ -25,7 +25,7 @@ import caosdb as db
from dataclasses import dataclass
from caosadvancedtools.cfood import (AbstractFileCFood, assure_has_description,
assure_has_parent, assure_has_property,
assure_object_is_in_list, get_entity)
assure_object_is_in_list, get_entity, fileguide)
from .datastructure import BIDSStructure
......@@ -61,7 +61,7 @@ class DataSetCFood(AbstractFileCFood):
def update_identifiables(self):
# set description
dataset_description = json.load(self.crawled_file)
dataset_description = json.load(fileguide.access(self.crawled_path))
if "Name" not in dataset_description:
raise ValueError("Name of the dataset must be set in"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment