Skip to content

Commit 1b4cbc4

Browse files
committed
Issue with Entites GeneratedBy several Activities
1 parent 687f89f commit 1b4cbc4

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

examples/heudiconv/README renamed to examples/heudiconv/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,3 +160,11 @@ although it is not allowed by the current version of the BIDS Prov specification
160160
3. In this example, the provenance for JSON sidecars files is not described.
161161

162162
4. For now, what happens indide `heudiconv` is described as one only activity. We might want to describe the fact that it uses `dcm2niix` as conversion software.
163+
164+
5. Some files (participants.json, dataset_description.json, etc.) may have been created by the first activity (heudiconv for the anat files) and later overwritten / amended by a second activity (heudiconv for the func files). As we don't know yet how to handle this, the `GeneratedBy` attribute of these Entities were set with a list:
165+
```JSON
166+
"GeneratedBy": [
167+
"bids::prov/conversion-00f3a18f",
168+
"bids::prov/conversion-5a66f5be"
169+
]
170+
```

examples/heudiconv/prov/prov-heudiconv_ent.prov.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@
5959
"bids::task-oneback_bold.json": {
6060
"Label": "task-oneback_bold.json",
6161
"GeneratedBy": [
62-
"bids::prov/conversion-00f3a18f",
6362
"bids::prov/conversion-5a66f5be"
6463
]
6564
}

0 commit comments

Comments
 (0)