Skip to content

Commit be01326

Browse files
Rework the readme a bit (#680)
Co-authored-by: Eric Larson <larson.eric.d@gmail.com>
1 parent 68c63d6 commit be01326

File tree

3 files changed

+32
-19
lines changed

3 files changed

+32
-19
lines changed

.circleci/config.yml

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1132,13 +1132,9 @@ jobs:
11321132
- store_artifacts:
11331133
path: docs/site
11341134
destination: site
1135-
- persist_to_workspace: # For documentation deployment to gh-pages
1136-
root: ~/
1137-
paths: project/docs/site
11381135

11391136
deploy_docs:
1140-
docker:
1141-
- image: node:10
1137+
<<: *imageconfig
11421138
steps:
11431139
- add_ssh_keys:
11441140
fingerprints:
@@ -1157,15 +1153,23 @@ jobs:
11571153
<<: *git
11581154
- run:
11591155
<<: *bashenv
1156+
- run:
1157+
# This is a bit computationally inefficient, but it should be much
1158+
# faster to "cp" directly on the machine rather than persist
1159+
# 1GB doc build to workspace then go retrieve it
1160+
name: Build documentation again
1161+
command: |
1162+
make doc
11601163
- run:
11611164
name: Deploy docs to gh-pages branch
11621165
# https://github.com/jimporter/mike
11631166
command: |
1164-
git config --global user.email "circle@mne.com"
1165-
git config --global user.name "Circle CI"
11661167
# Arguments used in all mike commands
11671168
ARGS="--config-file docs/mkdocs.yml"
1168-
echo "Deploying dev"
1169+
# First we need to actually check out our current version of
1170+
# gh-pages so we don't remove it!
1171+
git config remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*"
1172+
git fetch origin
11691173
# If it's tagged as v*, deploy as "v*" and "stable" as well
11701174
if git describe --tags --exact-match $(git rev-parse HEAD); then
11711175
VERSION="$(git describe --tags --exact-match $(git rev-parse HEAD))"
@@ -1184,7 +1188,7 @@ jobs:
11841188
fi
11851189
git checkout gh-pages
11861190
git reset $(git commit-tree HEAD^{tree} -m "Deploy and squash docs [ci skip]")
1187-
git log -n1
1191+
git log -n3 # should just be one, but let's be sure
11881192
git push origin --force gh-pages
11891193
11901194

README.md

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,27 @@
1-
[![CircleCI](https://circleci.com/gh/mne-tools/mne-bids-pipeline.svg?style=svg)](https://circleci.com/gh/mne-tools/mne-bids-pipeline)
1+
# <img src="https://raw.github.com/mne-tools/mne-bids-pipeline/main/docs/source/assets/mne.svg" alt="MNE Logo" height="20"> The MNE-BIDS-Pipeline
22

3-
# MNE-BIDS-Pipeline
3+
**The MNE-BIDS-Pipeline is a full-flegded processing pipeline for your MEG and
4+
EEG data.** It operates on data stored according to the [Brain Imaging Data
5+
Structure (BIDS)](https://bids.neuroimaging.io/). Under the hood, it uses [MNE-Python](https://mne.tools).
46

5-
The MNE-BIDS-Pipeline is a full-flegded processing pipeline for your MEG and
6-
EEG data. It operates on data stored according to the Brain Imaging Data
7-
Structure (BIDS).
7+
## 💡 Basic concepts and features
88

9-
# Documentation
9+
* 🐾 Data processing as a sequence of processing steps.
10+
* ⏏ Your data can be "ejected" from the pipeline at **any** stage. No lock-in!
11+
* 🧾 Extensive processing and analysis summary reports.
12+
* 🎬 Process just a single participant, or as many as several hundreds of participants – in parallel.
13+
* 🛠 Configuration via a simple text file.
14+
* 💻 Execution via an easy-to-use command-line utility.
15+
* 🆘 Helpful error messages in case something goes wrong.
1016

11-
Please find the installation and usage instructions at
12-
[mne.tools/mne-bids-pipeline](https://mne.tools/mne-bids-pipeline).
17+
## 📘 Installation and usage instructions
1318

14-
# Acknowledgments
19+
Please find the documentation at
20+
[**mne.tools/mne-bids-pipeline**](https://mne.tools/mne-bids-pipeline).
1521

16-
The original pipeline for MEG/EEG data processing with MNE python was built
22+
## ❤ Acknowledgments
23+
24+
The original pipeline for MEG/EEG data processing with MNE-Python was built
1725
jointly by the [Cognition and Brain Dynamics Team](https://brainthemind.com/)
1826
and the [MNE Python Team](https://mne.tools), based on scripts originally
1927
developed for this publication:

docs/source/features/gen_steps.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
Template. All steps exist in the `steps`/ directory.
1313
"""
1414

15+
print('Generating steps …')
1516
step_modules = _get_step_modules()
1617

1718
# Construct the lines of steps.md

0 commit comments

Comments
 (0)