-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #54 from psychoinformatics-de/rf-49
Various concept simplifications
- Loading branch information
Showing
16 changed files
with
267 additions
and
145 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,49 +9,60 @@ | |
"meta_id": "gitsha:558275f650574389dcbbf7cd8ab5046482473fc8", | ||
"meta_type": "dlccs:DataladDatasetVersionSE", | ||
"gitsha": "558275f650574389dcbbf7cd8ab5046482473fc8", | ||
"distribution": "gitsha:712f54082540c4f07f4f18e50fcd47e2ae9b95ed", | ||
"has_annex_remote": [ | ||
"annex:7e0bf3e7-7d46-4093-813e-b4009826c3bf" | ||
], | ||
"has_part": [ | ||
"gitsha:b94ef1797f7bfc1ac979be122e1b538bbb0d1d58", | ||
"gitsha:56094a33cf330fef5b375aa813fc4dc07147729f" | ||
], | ||
"is_version_of": "datalad:0b76362c-aa27-11ee-be29-b3b123281259", | ||
"qualified_part": [ | ||
{ | ||
"relation": "gitsha:56094a33cf330fef5b375aa813fc4dc07147729f", | ||
"at_location": "subdir/README.txt" | ||
}, | ||
{ | ||
"relation": "gitsha:b94ef1797f7bfc1ac979be122e1b538bbb0d1d58", | ||
"at_location": "subdir/data.bin" | ||
} | ||
], | ||
"tree": "gitsha:712f54082540c4f07f4f18e50fcd47e2ae9b95ed", | ||
"was_generated_by": { | ||
"was_associated_with": { | ||
"name": "Jane Doe", | ||
"email": "[email protected]" | ||
} | ||
} | ||
}, | ||
{ | ||
"meta_id": "gitsha:712f54082540c4f07f4f18e50fcd47e2ae9b95ed", | ||
"meta_type": "dlccs:GitTreeSE", | ||
"gitsha": "712f54082540c4f07f4f18e50fcd47e2ae9b95ed", | ||
"qualified_part": [ | ||
{ | ||
"relation": "gitsha:13ffd94a94e32f9482528fc65d59562b011f6f87", | ||
"name": "subdir" | ||
} | ||
] | ||
}, | ||
{ | ||
"meta_id": "gitsha:13ffd94a94e32f9482528fc65d59562b011f6f87", | ||
"meta_type": "dlccs:GitTreeSE", | ||
"gitsha": "13ffd94a94e32f9482528fc65d59562b011f6f87", | ||
"qualified_part": [ | ||
{ | ||
"relation": "annexkey:MD5E-s3425--32a617360d10e3dcbfdd0885e8d64ab8.bin", | ||
"name": "data.bin" | ||
}, | ||
{ | ||
"relation": "gitsha:56094a33cf330fef5b375aa813fc4dc07147729f", | ||
"name": "README.txt" | ||
} | ||
] | ||
}, | ||
{ | ||
"meta_id": "gitsha:56094a33cf330fef5b375aa813fc4dc07147729f", | ||
"meta_type": "dlccs:GitBlobSE", | ||
"gitsha": "56094a33cf330fef5b375aa813fc4dc07147729f" | ||
}, | ||
{ | ||
"meta_id": "gitsha:b94ef1797f7bfc1ac979be122e1b538bbb0d1d58", | ||
"meta_type": "dlccs:AnnexedFileSE", | ||
"gitsha": "b94ef1797f7bfc1ac979be122e1b538bbb0d1d58", | ||
"distribution": { | ||
"qualified_access": [ | ||
{ | ||
"relation": "annex:7e0bf3e7-7d46-4093-813e-b4009826c3bf", | ||
"access_id": "MD5E-s3425--32a617360d10e3dcbfdd0885e8d64ab8.txt" | ||
} | ||
], | ||
"byte_size": 3425 | ||
} | ||
"meta_id": "annexkey:MD5E-s3425--32a617360d10e3dcbfdd0885e8d64ab8.bin", | ||
"meta_type": "dlccs:StableAnnexKeySE", | ||
"qualified_access": [ | ||
{ | ||
"relation": "annex:7e0bf3e7-7d46-4093-813e-b4009826c3bf", | ||
"access_id": "MD5E-s3425--32a617360d10e3dcbfdd0885e8d64ab8.bin" | ||
} | ||
], | ||
"byte_size": 3425 | ||
}, | ||
{ | ||
"meta_id": "annex:7e0bf3e7-7d46-4093-813e-b4009826c3bf", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,37 +7,43 @@ components: | |
- meta_id: gitsha:558275f650574389dcbbf7cd8ab5046482473fc8 | ||
meta_type: dlccs:DataladDatasetVersionSE | ||
gitsha: 558275f650574389dcbbf7cd8ab5046482473fc8 | ||
tree: gitsha:712f54082540c4f07f4f18e50fcd47e2ae9b95ed | ||
was_generated_by: | ||
was_associated_with: | ||
name: Jane Doe | ||
email: [email protected] | ||
is_version_of: datalad:0b76362c-aa27-11ee-be29-b3b123281259 | ||
has_annex_remote: | ||
- annex:7e0bf3e7-7d46-4093-813e-b4009826c3bf | ||
has_part: | ||
# could link an entire tree as one part, which would have parts | ||
# of its own | ||
# such a tree would also need to support `qualified_part` | ||
- gitsha:b94ef1797f7bfc1ac979be122e1b538bbb0d1d58 | ||
- gitsha:56094a33cf330fef5b375aa813fc4dc07147729f | ||
# root tree of dataset version | ||
- meta_id: gitsha:712f54082540c4f07f4f18e50fcd47e2ae9b95ed | ||
meta_type: dlccs:GitTreeSE | ||
gitsha: 712f54082540c4f07f4f18e50fcd47e2ae9b95ed | ||
qualified_part: | ||
- at_location: subdir/README.txt | ||
- name: subdir | ||
relation: gitsha:13ffd94a94e32f9482528fc65d59562b011f6f87 | ||
# subdir tree of dataset version | ||
- meta_id: gitsha:13ffd94a94e32f9482528fc65d59562b011f6f87 | ||
meta_type: dlccs:GitTreeSE | ||
gitsha: 13ffd94a94e32f9482528fc65d59562b011f6f87 | ||
qualified_part: | ||
- name: data.bin | ||
relation: annexkey:MD5E-s3425--32a617360d10e3dcbfdd0885e8d64ab8.bin | ||
- name: README.txt | ||
relation: gitsha:56094a33cf330fef5b375aa813fc4dc07147729f | ||
- at_location: subdir/data.bin | ||
relation: gitsha:b94ef1797f7bfc1ac979be122e1b538bbb0d1d58 | ||
# git blob | ||
- meta_id: gitsha:56094a33cf330fef5b375aa813fc4dc07147729f | ||
meta_type: dlccs:GitBlobSE | ||
gitsha: 56094a33cf330fef5b375aa813fc4dc07147729f | ||
# annexed file | ||
- meta_id: gitsha:b94ef1797f7bfc1ac979be122e1b538bbb0d1d58 | ||
meta_type: dlccs:AnnexedFileSE | ||
gitsha: b94ef1797f7bfc1ac979be122e1b538bbb0d1d58 | ||
distribution: | ||
byte_size: 3425 | ||
qualified_access: | ||
- access_id: MD5E-s3425--32a617360d10e3dcbfdd0885e8d64ab8.txt | ||
relation: annex:7e0bf3e7-7d46-4093-813e-b4009826c3bf | ||
- meta_id: annexkey:MD5E-s3425--32a617360d10e3dcbfdd0885e8d64ab8.bin | ||
meta_type: dlccs:StableAnnexKeySE | ||
byte_size: 3425 | ||
qualified_access: | ||
# TODO access_id is not needed in most cases, should likely | ||
# because some kind of `STATE` report | ||
- access_id: MD5E-s3425--32a617360d10e3dcbfdd0885e8d64ab8.bin | ||
relation: annex:7e0bf3e7-7d46-4093-813e-b4009826c3bf | ||
# annex remote | ||
- meta_id: annex:7e0bf3e7-7d46-4093-813e-b4009826c3bf | ||
meta_type: dlccs:AnnexRemoteSE | ||
|
45 changes: 45 additions & 0 deletions
45
src/examples/datalad-dataset-components/ContainerSE-DatasetWSubdataset.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
{ | ||
"components": [ | ||
{ | ||
"meta_id": "gitsha:558275f650574389dcbbf7cd8ab5046482473fc8", | ||
"meta_type": "dlccs:DataladDatasetVersionSE", | ||
"gitsha": "558275f650574389dcbbf7cd8ab5046482473fc8", | ||
"distribution": "gitsha:712f54082540c4f07f4f18e50fcd47e2ae9b95ed", | ||
"has_part": [ | ||
"gitsha:d956832059a7837ad31e60a84ec1399b3460e0e3" | ||
], | ||
"tree": "gitsha:712f54082540c4f07f4f18e50fcd47e2ae9b95ed", | ||
"was_generated_by": { | ||
"was_associated_with": { | ||
"name": "Jane Doe", | ||
"email": "[email protected]" | ||
} | ||
} | ||
}, | ||
{ | ||
"meta_id": "gitsha:d956832059a7837ad31e60a84ec1399b3460e0e3", | ||
"meta_type": "dlccs:DataladDatasetVersionSE", | ||
"gitsha": "d956832059a7837ad31e60a84ec1399b3460e0e3", | ||
"distribution": "gitsha:0dc0410fd3328c608ca8d89802fb0f9f4a84abf9", | ||
"tree": "gitsha:0dc0410fd3328c608ca8d89802fb0f9f4a84abf9", | ||
"was_generated_by": { | ||
"was_associated_with": { | ||
"name": "John Doe", | ||
"email": "[email protected]" | ||
} | ||
} | ||
}, | ||
{ | ||
"meta_id": "gitsha:712f54082540c4f07f4f18e50fcd47e2ae9b95ed", | ||
"meta_type": "dlccs:GitTreeSE", | ||
"gitsha": "712f54082540c4f07f4f18e50fcd47e2ae9b95ed", | ||
"qualified_part": [ | ||
{ | ||
"relation": "gitsha:0dc0410fd3328c608ca8d89802fb0f9f4a84abf9", | ||
"name": "subds" | ||
} | ||
] | ||
} | ||
], | ||
"@type": "ContainerSE" | ||
} |
30 changes: 30 additions & 0 deletions
30
src/examples/datalad-dataset-components/ContainerSE-DatasetWSubdataset.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
components: | ||
# (super)dataset version | ||
- meta_id: gitsha:558275f650574389dcbbf7cd8ab5046482473fc8 | ||
meta_type: dlccs:DataladDatasetVersionSE | ||
gitsha: 558275f650574389dcbbf7cd8ab5046482473fc8 | ||
tree: gitsha:712f54082540c4f07f4f18e50fcd47e2ae9b95ed | ||
has_part: | ||
# the DataladDatasetVersion instance is the part | ||
- gitsha:d956832059a7837ad31e60a84ec1399b3460e0e3 | ||
was_generated_by: | ||
was_associated_with: | ||
name: Jane Doe | ||
email: [email protected] | ||
# (sub)dataset version | ||
- meta_id: gitsha:d956832059a7837ad31e60a84ec1399b3460e0e3 | ||
meta_type: dlccs:DataladDatasetVersionSE | ||
gitsha: d956832059a7837ad31e60a84ec1399b3460e0e3 | ||
tree: gitsha:0dc0410fd3328c608ca8d89802fb0f9f4a84abf9 | ||
was_generated_by: | ||
was_associated_with: | ||
name: John Doe | ||
email: [email protected] | ||
# root tree of (super)dataset version | ||
- meta_id: gitsha:712f54082540c4f07f4f18e50fcd47e2ae9b95ed | ||
meta_type: dlccs:GitTreeSE | ||
gitsha: 712f54082540c4f07f4f18e50fcd47e2ae9b95ed | ||
qualified_part: | ||
- name: subds | ||
# link (sub)dataset version tree directly | ||
relation: gitsha:0dc0410fd3328c608ca8d89802fb0f9f4a84abf9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.