|
@@ -12,9 +12,12 @@ BIDS-folder
|
|
|
│ └── ...
|
|
|
...
|
|
|
|
|
|
-For software dependencies see the environment.yml file for use with the
|
|
|
-conda package manager.
|
|
|
+You need to have the following software dependencies installed for this code to work:
|
|
|
|
|
|
+- mne_bids < 0.8
|
|
|
+- mne < 0.23
|
|
|
+
|
|
|
+All remaining dependencies will be installed automatically with the packages above.
|
|
|
"""
|
|
|
# %% Imports and constants
|
|
|
import glob
|
|
@@ -25,11 +28,11 @@ import os.path as op
|
|
|
import pathlib
|
|
|
import shutil
|
|
|
from tempfile import mkdtemp
|
|
|
+import requests
|
|
|
|
|
|
import mne_bids
|
|
|
import numpy as np
|
|
|
import pandas as pd
|
|
|
-import requests
|
|
|
from mne.channels import read_dig_captrak
|
|
|
from mne.io import read_raw_brainvision
|
|
|
from mne_bids.copyfiles import copyfile_brainvision
|
|
@@ -321,8 +324,6 @@ This is the readme of the `mpib_sp_eeg` dataset. The short dataset name results
|
|
|
|
|
|
The data was collected in 2019 at the MPIB in Berlin by Stefan Appelhoff and colleagues.
|
|
|
|
|
|
-All important details are reported in the original paper for the project: https://doi.org/10.1101/2021.06.03.446960
|
|
|
-
|
|
|
The data is organized according to the Brain Imaging Data Structure, see: https://bids.neuroimaging.io
|
|
|
|
|
|
The dataset is managed with datalad, see: http://handbook.datalad.org/en/latest/index.html
|
|
@@ -342,15 +343,25 @@ cd mpib_sp_eeg
|
|
|
datalad get participants.tsv
|
|
|
```
|
|
|
|
|
|
-## Analysis code
|
|
|
+## Preprint
|
|
|
+
|
|
|
+A preprint is available on BioRxiv.
|
|
|
|
|
|
-The code used for data analysis can be found here: https://github.com/sappelhoff/sp_code
|
|
|
+- BioRxiv: https://doi.org/10.1101/2021.06.03.446960
|
|
|
|
|
|
## Experimental presentation code
|
|
|
|
|
|
-The code used for the experimental presentation can be found here: https://github.com/sappelhoff/sp_experiment
|
|
|
+The code used for the experimental presentation can be found on GitHub and Zenodo.
|
|
|
|
|
|
-Or in the archived version at Zenodo: https://doi.org/10.5281/zenodo.3354368
|
|
|
+- GitHub: https://github.com/sappelhoff/sp_experiment
|
|
|
+- Zenodo: https://doi.org/10.5281/zenodo.3354368
|
|
|
+
|
|
|
+## Analysis code
|
|
|
+
|
|
|
+The code used for data analysis can be found on GitHub and on Zenodo.
|
|
|
+
|
|
|
+- GitHub: https://github.com/sappelhoff/sp_code
|
|
|
+- Zenodo: https://doi.org/10.5281/zenodo.5929222
|
|
|
|
|
|
## Contact
|
|
|
|
|
@@ -404,6 +415,7 @@ def make_dataset_description(bids_root, overwrite):
|
|
|
"ReferencesAndLinks": [
|
|
|
"https://doi.org/10.1101/2021.06.03.446960",
|
|
|
"https://doi.org/10.5281/zenodo.3354368",
|
|
|
+ "https://doi.org/10.5281/zenodo.5929222",
|
|
|
],
|
|
|
"DatasetDOI": "https://gin.g-node.org/sappelhoff/mpib_sp_eeg/",
|
|
|
}
|
|
@@ -412,7 +424,7 @@ def make_dataset_description(bids_root, overwrite):
|
|
|
if not op.exists(fname) or overwrite:
|
|
|
with open(fname, "w", encoding="utf-8") as fout:
|
|
|
json.dump(dataset_description_json, fout, ensure_ascii=False, indent=4)
|
|
|
-
|
|
|
+ fout.write("\n")
|
|
|
|
|
|
# %% Make LICENSE
|
|
|
|