Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
caosdb-advanced-user-tools
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
caosdb
Software
caosdb-advanced-user-tools
Commits
424c5b99
Commit
424c5b99
authored
Aug 12, 2021
by
Henrik tom Wörden
Browse files
Options
Downloads
Patches
Plain Diff
Update dataset_cfood.py
parent
416eeb3c
No related branches found
No related tags found
1 merge request
!9
F bids
Pipeline
#11885
failed
Aug 12, 2021
Stage: setup
Stage: cert
Stage: style
Stage: unittest
Stage: integrationtest
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/caosadvancedtools/cfoods/bids/dataset_cfood.py
+2
-2
2 additions, 2 deletions
src/caosadvancedtools/cfoods/bids/dataset_cfood.py
with
2 additions
and
2 deletions
src/caosadvancedtools/cfoods/bids/dataset_cfood.py
+
2
−
2
View file @
424c5b99
...
...
@@ -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
"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment