Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
CaosDB Crawler
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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
caosdb
Software
CaosDB Crawler
Commits
f17befaa
Commit
f17befaa
authored
2 years ago
by
Alexander Schlemmer
Committed by
Alexander Schlemmer
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
DOC: more enhancements
parent
fbd62d8b
No related branches found
No related tags found
2 merge requests
!53
Release 0.1
,
!42
F doc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/doc/index.rst
+36
-0
36 additions, 0 deletions
src/doc/index.rst
with
36 additions
and
0 deletions
src/doc/index.rst
+
36
−
0
View file @
f17befaa
...
@@ -267,3 +267,39 @@ to the variables like:
...
@@ -267,3 +267,39 @@ to the variables like:
type: DictTextElement
type: DictTextElement
match_value: (?P<description>.*)
match_value: (?P<description>.*)
match_name: description
match_name: description
Scopes
========
Example:
.. code-block:: yaml
DicomFile:
type: SimpleDicomFile
match: (?P<filename>.*)\.dicom
records:
DicomRecord:
name: $filename
subtree: # header of dicom file
PatientID:
type: DicomHeaderElement
match_name: PatientName
match_value: (?P<patient>.*)
records:
Patient:
name: $patient
dicom_name: $filename # $filename is in same scope!
ExperimentFile:
type: MarkdownFile
match: ^readme.md$
records:
Experiment:
dicom_name: $filename # does NOT work, because $filename is out of scope!
# can variables be used within regexp?
File Objects
============
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