You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Your `output_results` directory tree will be generated by itself. A folder is created for each parser and each example contains the input file, the jsonld and the associated png.
16
16
17
17
18
-
### Notes
19
-
All scripts provide a `--help` flag, to get an overview of possible parameters and default values
20
-
Here is an example
21
-
```bash
22
-
>> python -m bids_prov.visualize --help
23
-
Usage: visualize.py [OPTIONS] [FILENAMES]...
18
+
### Parser entry points
24
19
25
-
Options:
26
-
-o, --output_file TEXT
27
-
--omit-details omit the following low level details : {'Activity':
28
-
('startedAtTime', 'endedAtTime'), 'Entity':
29
-
('atLocation', 'generatedAt')}
20
+
The following parser python modules provide entry points for direct use in a terminal:
30
21
31
-
--help Show this message and exit.
32
-
```
22
+
*`bids_prov.afni_parser`
23
+
*`bids_prov.fsl_parser`
24
+
*`bids_prov.spm_parser`
25
+
26
+
> [!NOTE]
27
+
> All scripts provide a `--help` flag, to get an overview of possible parameters and default values.
28
+
29
+
Here are examples:
33
30
34
31
```bash
35
32
>> python -m bids_prov.spm_parser --help
@@ -39,4 +36,93 @@ Options:
39
36
-o, --output-file TEXT [required]
40
37
-c, --context-url TEXT
41
38
--help Show this message and exit.
42
-
```
39
+
```
40
+
41
+
### Visualize provenance as a graph
42
+
43
+
The `bids_prov.visualize` module allows to generate an image showing provenance contained in a JSON-LD file as a graph.
Will look through all the sidecar JSON files, the `dataset_description.json`, and the `prov/*` files to extract provenance metadata, and merge it into the `prov/prov-fmriprep_all.jsonld` file as a JSON-LD RDF graph.
0 commit comments