Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

freesurfer segmentation results extraction activity example BIDS-Prov #60

Open
wants to merge 160 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
160 commits
Select commit Hold shift + click to select a range
a31fe6f
[ADD] a basic README
Mar 5, 2020
a3124e0
[ADD] CLI to visualize prov files
Mar 5, 2020
94aef72
init jsonld files for spm_default
Mar 11, 2020
4b27841
improve spm_default/realign.json
Mar 19, 2020
fd353b3
[RM] types for parameters & simplify reading
Mar 20, 2020
e09f052
mke all examples use a context.json at the root
Mar 23, 2020
611f757
spm_default realign uses entity from copies
Mar 23, 2020
09c4c0d
gitignore graphviz files
Mar 23, 2020
381c629
[MV] context local URIs to remote URIs
Mar 23, 2020
d69bae1
realign.json more infos on SPM
Mar 23, 2020
65d1874
[ADD] copy activity & explicit exp_dit in paths
Mar 24, 2020
4b0a851
[ADD] entity link realign and coreg
Mar 24, 2020
4b8efca
[RM] auditory fmri for now, may restore this later
Mar 24, 2020
55e6434
[ADD] type indexing for spm_default
Mar 24, 2020
af26bec
[RM] misleading references to bids namespace
Mar 24, 2020
ff8a938
[RM] link to bids in context
Mar 24, 2020
dc07d4c
[remove] exp_dir definition
Mar 24, 2020
c1630a7
type indexing agents in copies.json
Mar 24, 2020
399cf66
Merge pull request #4 from Inria-Visages/spm_default
Mar 24, 2020
c5317c0
define SPM Agent in realign.json
Mar 27, 2020
4accc8d
Merge branch 'master' of https://github.com/Inria-Visages/BIDS-prov i…
Mar 27, 2020
7fea7eb
instatiate semgent activity in realign.json
Mar 27, 2020
0c43331
mutliple copies && ids instead of labels
Apr 3, 2020
b13788f
add coreg, segment & normalise
Apr 3, 2020
e2d6f12
[ADD] .svg file for spm default
Apr 6, 2020
3d6db8b
[ADD] smoothing on functional img
Apr 6, 2020
d150a5b
[ADD] model estimation
Apr 9, 2020
f333a45
add report to PDF
Apr 9, 2020
febf10a
reformat json files, graph is just a dict
Apr 9, 2020
c624b0e
explicit name for copy and unzip
Apr 9, 2020
d0547d7
[ADD] list of features not in the spec
Apr 9, 2020
9d6179e
[ADD] issue template for proposals
Apr 10, 2020
c4f4124
Merge pull request #9 from Inria-Visages/spm_default_v2
Apr 14, 2020
d1a1398
[UPDATE] new_features list
Apr 15, 2020
bcc709c
rename spm_default subfolder
Apr 16, 2020
c911856
[ADD] workflow & readme for fsl_default
Apr 16, 2020
3b57597
first draft for fsl_default
Apr 17, 2020
a538893
[ADD] detailed preprocessing and logs as markdown
Apr 17, 2020
e6054f5
start reformatting README as for a BEP proposal
Jul 30, 2020
99c5e94
enrich "How to help" section in README
Jul 30, 2020
c640df9
fix typo in README
Jul 30, 2020
5002bcd
add NIDM weekly call section to README
Jul 30, 2020
9996f8b
Merge branch 'master' of https://github.com/Inria-Visages/BIDS-prov
remiadon Jul 31, 2020
7d1e508
Update who is who + title
cmaumet Jul 31, 2020
b0f0e86
add requirements to read and viz json-ld as prov
cmaumet Aug 4, 2020
349c464
context for JSON-LD 1.1 with type indexing
cmaumet Aug 4, 2020
30fd87d
Add missing namespaces to identifiers
cmaumet Aug 4, 2020
8eebfa1
Update to point to context defining type indexing
cmaumet Aug 4, 2020
1629ee5
graph is records (as in context)
cmaumet Aug 4, 2020
adfc5ed
Fix prov types
cmaumet Aug 4, 2020
85d4476
Add missing namespace in id
cmaumet Aug 4, 2020
5bb6f8b
Removing front node info (not sure if that's fine with viz)
cmaumet Aug 4, 2020
a790f84
Toy examples for viz
cmaumet Aug 4, 2020
bd643ec
Code to vizualize json-ld 1.1 as prov graph
cmaumet Aug 4, 2020
3a98a36
Merge pull request #25 from cmaumet/fsl_default
Aug 5, 2020
12ea852
start reformatting README as for a BEP proposal
Jul 30, 2020
92e9c19
enrich "How to help" section in README
Jul 30, 2020
1ef476a
fix typo in README
Jul 30, 2020
eb26af1
add NIDM weekly call section to README
Jul 30, 2020
4002835
update requirements
remiadon Aug 5, 2020
9601006
Create CODE_OF_CONDUCT.md
Aug 5, 2020
1f12f7c
Merge pull request #24 from cmaumet/context-type-indexing
Aug 5, 2020
341a1fc
Create contributing.md
Aug 5, 2020
9db45ba
restructure contributing.md
remiadon Aug 6, 2020
99db44c
Create LICENSE
Aug 6, 2020
e8b968c
Update issue templates
remiadon Aug 6, 2020
ffb0c76
Merge branch 'master' of https://github.com/Inria-Visages/BIDS-prov
remiadon Aug 6, 2020
8266f20
git ignore
cmaumet Sep 10, 2020
2a10347
update notebook
cmaumet Sep 10, 2020
f47b5dc
Merge branch 'fsl_default' of github.com:Inria-Visages/BIDS-prov into…
cmaumet Sep 10, 2020
5b1a190
Merge branch 'fsl_default' of https://github.com/Inria-Visages/BIDS-p…
remiadon Sep 10, 2020
39a2610
[ADD] code of conduct
remiadon Sep 10, 2020
545abf3
[ADD] contributors in README
remiadon Sep 10, 2020
68a9d91
update contributors
Sep 11, 2020
e5bb531
Typo
cmaumet Sep 15, 2020
4dce4c3
Update info NIDM
cmaumet Sep 15, 2020
c63c477
Update credits
cmaumet Sep 15, 2020
6aa5fea
Update CoC info
cmaumet Sep 15, 2020
30d3e0c
Merge pull request #26 from bids-standard/add-code-of-conduct
cmaumet Sep 15, 2020
63de9cf
Update template
cmaumet Sep 15, 2020
bd5dca9
Update template
cmaumet Sep 15, 2020
7aefdae
Update
cmaumet Sep 15, 2020
a3fd2ea
Merge pull request #19 from bids-standard/spec_issue_template
cmaumet Sep 15, 2020
7745731
Move issue template to corresponding folder
cmaumet Sep 15, 2020
f236cd7
Move to issue template folder
cmaumet Sep 15, 2020
57c49ff
Create spec_update.md
Sep 15, 2020
4edf6e3
create context for JSON-LD 1.0 with all elements of JSON-LD 1.1 context
cmaumet Sep 15, 2020
7563143
Merge branch 'fsl_default' of https://github.com/bids-standard/BEP028…
remiadon Sep 15, 2020
c611ee9
scr @id to RRID
remiadon Sep 15, 2020
291c58d
fix RRID
cmaumet Sep 15, 2020
245edc5
Update spec_update.md
Sep 15, 2020
56cc083
Delete spec_update_issue_template.md
Sep 15, 2020
108a6d1
first working w3c graph
remiadon Sep 15, 2020
711ba12
[RM] deprecated CODE_OF_CONDUCT
remiadon Sep 17, 2020
e0c78c3
Merge pull request #27 from bids-standard/contributing
Sep 17, 2020
821f470
resolve conflicts
cmaumet Sep 18, 2020
6527a3c
Merge pull request #20 from bids-standard/fsl_default
cmaumet Sep 18, 2020
6db9a16
Merge branch 'master' of github.com:Inria-Visages/BIDS-prov into lib
cmaumet Sep 18, 2020
de0a189
Merge pull request #30 from bids-standard/lib
cmaumet Sep 18, 2020
513667a
Typo
cmaumet Sep 18, 2020
e228da7
Fix conflict in merge
cmaumet Sep 18, 2020
2672028
Update info on PRs
cmaumet Sep 18, 2020
243d8bd
[VIZ] handle single definition across multiple files
remiadon Sep 21, 2020
7cc3727
SPM coreg [FIX] inputs and [ADD] --omit-details flag to viz CLI
remiadon Sep 22, 2020
8f41fab
SPM shorten identifiers for readability
remiadon Sep 22, 2020
c6542a5
SPM : segment activity uses anat nii header entity
remiadon Sep 22, 2020
b3d891c
SPM : single SPM.mat node
remiadon Sep 25, 2020
4ed8159
SPM : [ADD] batch.m file
remiadon Sep 25, 2020
4fbf61f
Merge pull request #31 from bids-standard/lib
Sep 25, 2020
aa9e457
fsl default : [FIX] dead nodes
remiadon Oct 13, 2020
f5f90bf
fsl default : separate single subject workflow from group analysis wo…
remiadon Oct 13, 2020
05cbbe0
update fsl preprocessing.json, seems deprecated
remiadon Oct 13, 2020
af70a96
[RM] fsl preprocessing, deprecated
remiadon Oct 13, 2020
6e424dc
clean fsl_default folder
remiadon Oct 13, 2020
1a13e3d
fsl_default replace .png by generated graph
remiadon Oct 13, 2020
636089c
[ADD] .png for spm_default
remiadon Oct 14, 2020
76bd469
[ADD] isInfluencedBy in new_features
remiadon Oct 14, 2020
c297118
Merge pull request #37 from bids-standard/fsl_default_v2
Oct 19, 2020
ae0a67e
first draft for fMRIprep
remiadon Oct 28, 2020
c23b1bd
simplify fmriprep example
remiadon Nov 5, 2020
f0e7d56
update fmriprep .png
remiadon Nov 5, 2020
f15381e
Merge pull request #42 from bids-standard/fmri_prep
Nov 5, 2020
c882080
v0 for spm parser
remiadon Feb 3, 2021
b6584cd
[FIX] output production
remiadon Feb 3, 2021
c2a4c29
black spm_parser
remiadon Feb 3, 2021
4518748
[FIX] activity names
remiadon Feb 4, 2021
20eb527
[ADD] first test for spm parser
remiadon Feb 8, 2021
1af7fb9
[ADD] CI for unittests
remiadon Feb 8, 2021
f094136
[FIX] dependency inference
remiadon Feb 8, 2021
46436ff
[FIX] refs to SPM
remiadon Feb 9, 2021
eeb94c8
[FIX] missing used refs
remiadon Feb 16, 2021
a8f473c
SPM parser + viz in CI
remiadon Feb 16, 2021
ac1b03a
SPM parser, context as option
remiadon Feb 16, 2021
5f14a6c
SPM Parser [RM] links between entities and SPM
remiadon Feb 18, 2021
434eeaf
SPM Parser [FIX] short activity name
remiadon Feb 18, 2021
d979c3f
SPM parser link activities via close names AND reference numbers
remiadon Feb 19, 2021
10a9c66
Merge pull request #50 from bids-standard/spm_parser
Feb 19, 2021
e1b9b92
SPM parser config is now external
remiadon Mar 12, 2021
489b8bb
[FIX] CI for bids_prov.spm_parser
remiadon Mar 12, 2021
50e2d63
SPM default graph in config
remiadon Mar 12, 2021
4be118c
spm_parser : hard coded mappings in yaml file
remiadon Mar 16, 2021
40cdc59
[ADD] missing requirement
remiadon Mar 16, 2021
e9cd9ac
SPM [FIX] duplicate gunzipped files
remiadon Mar 18, 2021
f152c15
SPM [ADD] predefined outputs in static config
remiadon Mar 29, 2021
cef3720
rename spm_config.py to avoid confusion
remiadon Apr 1, 2021
56c7187
[ADD] bids_prov/README
remiadon Apr 1, 2021
0b24cab
fix: avoid overwriting used dependency in the presence of used entities
cmaumet Apr 26, 2021
a241773
Merge pull request #54 from bids-standard/spm_parser_config
cmaumet Apr 26, 2021
24e9fa9
rename static_map
cmaumet Apr 26, 2021
6321abd
FIX - remove redundancy in README
tiborauer Jun 10, 2021
23585fc
FIX - typo in README
tiborauer Jun 10, 2021
707ba2f
Merge pull request #55 from tiborauer/patch-1
cmaumet Jun 10, 2021
c5ee92b
SPM parser improve [DOC] and [RM] dead code
remiadon Jun 15, 2021
179df7e
SPM parser improve [DOC]
remiadon Jun 15, 2021
17da659
[RM] reprecated closest_activity
remiadon Jun 15, 2021
ebd8b85
spm_parser set prov:atLocation for activities with default outputs
remiadon Jun 15, 2021
3c4302e
freesurfer segmentation results extraction example BIDS-Prov
dbkeator Jun 17, 2021
2cae371
fixing typo
dbkeator Jun 17, 2021
0cf6e4d
beautifying indentation...lol
dbkeator Jun 17, 2021
cd87bc7
added link to freesurfer segmentation statistics -> NIDM / jsonld tool
dbkeator Jun 17, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
25 changes: 25 additions & 0 deletions .github/ISSUE_TEMPLATE/spec_update.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
name: Propose spec update
about: Update BIDS-prov specification
title: ''
labels: ''
assignees: ''

---

## Update proposal for BIDS Prov (BEP028)

### Problem Statement
*What type of enhancement ? Is it a `new feature or a modification` ?
What `limitation in the current spec` does this underline ?*

### Rationale
*What `solution` do you propose ? How does that relate to the original problem ?*

### Minimal example
*Provide a minimal example with the current spec.
How would this example turn if we `apply the proposed change` ?*

### Checklist
- [ ] links to related existing [issues](https://github.com/bids-standard/BEP028_BIDSprov/issues) and/or [PR](https://github.com/bids-standard/BEP028_BIDSprov/pulls)

27 changes: 27 additions & 0 deletions .github/workflows/integration_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: SPM
on:
pull_request:
paths: 'bids_prov/**'
jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Setup Python
uses: actions/setup-python@master
with:
python-version: 3.7
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest
pip install -r requirements.txt
- name: Test SPM parser on explicit_mask
run: |
curl -LJO https://raw.githubusercontent.com/incf-nidash/nidmresults-examples/master/spm_explicit_mask/batch.m
python -m bids_prov.spm_parser batch.m -o explicit_mask.json

- name: Test SPM Parser on groups OLS
run: |
curl -LJO https://raw.githubusercontent.com/incf-nidash/nidmresults-examples/master/spm_group_ols/batch.m
python -m bids_prov.spm_parser batch.m -o ols.json
18 changes: 18 additions & 0 deletions .github/workflows/unit_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: tests
on: [pull_request]
jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Setup Python
uses: actions/setup-python@master
with:
python-version: 3.7
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest
pip install -r requirements.txt
- name: Unit tests
run: pytest bids_prov
12 changes: 12 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,14 @@
**/*.hdr
**/*.img
*.gv*
settings.json
**/*.gz
.datalad
**/*.tsv
*.png
*.json
**/*.pyc

*.DS_Store
*.ipynb_checkpoints

6 changes: 6 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
repos:
- repo: https://github.com/python/black
rev: stable
hooks:
- id: black
language_version: python3.7
Loading