Skip to content

Commit dc736cd

Browse files
committed
Merge branch 'main' of https://github.com/bids-standard/bids-website into 442-centralize-converters
2 parents 509a332 + 9a8da01 commit dc736cd

File tree

21 files changed

+152
-85
lines changed

21 files changed

+152
-85
lines changed

CONTRIBUTING.md

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
# Contributing to the BIDS website
2+
3+
**Welcome to the BIDS website repository!**
4+
5+
_We're so excited you're here and want to contribute._
6+
7+
We hope that these guidelines are designed to make it as easy as possible to get involved.
8+
If you have any questions that aren't discussed below, please let us know
9+
by [opening an issue](https://github.com/bids-standard/bids-website/issues/new).
10+
11+
If you are not familiar with Git ansd GitHub,
12+
check our [generic contributing guidelines](https://bids-website.readthedocs.io/en/latest/collaboration/bids_github/CONTRIBUTING.html).
13+
14+
If you want to contribute to the BIDS website,
15+
make sure you also read the instructions below.
16+
17+
## Serving locally
18+
19+
### Requirements
20+
21+
- python >= 3.10
22+
23+
Even though this is not required, having `make` installed
24+
will make it easier to easily serve the website locally.
25+
26+
### Install and serve
27+
28+
Fork and clone the repository and its submodules
29+
30+
```bash
31+
git clone https://github.com/YOUR_USER_NAME/bids-website.git --recurse-submodules
32+
```
33+
34+
Create a virtual environment using `conda`, `venv` of what other environment management tool you prefer.
35+
36+
Install all the dependencies.
37+
38+
```bash
39+
pip install -r requirements.txt
40+
```
41+
42+
Generate all the content required for the build.
43+
44+
```bash
45+
make update
46+
```
47+
48+
Serve the website with the mkdocs.
49+
50+
```bash
51+
mkdocs serve
52+
```
53+
54+
## Maintenance
55+
56+
### Requirements
57+
58+
Same as for the install but you will also need to install `tox`.
59+
60+
```bash
61+
pip install tox
62+
```
63+
<!-- TODO find minimal version of node and npm -->
64+
For some quality checks and rare operations, you will need node.js and npm.
65+
66+
## Update all files
67+
68+
```bash
69+
make update
70+
```
71+
72+
## Run all formatting / linting tools
73+
74+
```bash
75+
tox
76+
make remark
77+
```

README.md

Lines changed: 32 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -1,66 +1,43 @@
11
[![Documentation Status](https://readthedocs.org/projects/bids-website/badge/?version=latest)](https://bids-website.readthedocs.io/en/latest/?badge=latest)
2+
[![Check Markdown links](https://github.com/bids-standard/bids-website/actions/workflows/check_md_links.yml/badge.svg?branch=main)](https://github.com/bids-standard/bids-website/actions/workflows/check_md_links.yml)
3+
[![Validation](https://github.com/bids-standard/bids-website/actions/workflows/validation.yml/badge.svg?branch=main)](https://github.com/bids-standard/bids-website/actions/workflows/validation.yml)
24

3-
# The one true BIDS website
5+
<img
6+
src="https://github.com/bids-standard/bids-specification/blob/master/BIDS_logo/BIDS_logo_white_transparent_background_crop.png#gh-dark-mode-only"
7+
alt="bids-logo"
8+
width="600"
9+
/>
10+
<img
11+
src="https://github.com/bids-standard/bids-specification/blob/master/BIDS_logo/BIDS_logo_black_transparent_background_crop.png#gh-light-mode-only"
12+
alt="bids-logo"
13+
width="600"
14+
/>
415

5-
View it here: https://bids-website.readthedocs.io/en/latest/?badge=latest
6-
7-
## Serving locally
8-
9-
### Requirements
10-
11-
<!-- TODO determines minimum python version -->
12-
- python 3.X
13-
14-
## Install
15-
16-
Clone the repo and its submodules
17-
18-
```bash
19-
git clone https://github.com/bids-standard/bids-website.git --recurse-submodules
20-
```
21-
22-
Create a virtual environment using `conda`, `venv` of what other environment management tool you prefer.
16+
# BIDS website
2317

24-
Install all the dependencies.
18+
<!-- This is the repository for the Brain Imaging Data Structure (BIDS) website that is hosted at <https://bids.neuroimaging.io>. -->
2519

26-
```bash
27-
pip install -r requirements.txt
28-
```
29-
30-
Generate all the content require for the build.
31-
32-
```bash
33-
make update
34-
```
35-
36-
Serve the website with the mkdocs.
37-
```bash
38-
mkdocs serve
39-
```
40-
41-
## Maintenance
42-
43-
### Requirements
44-
45-
Same automation will work better if you are on unix system and have make.
20+
View it here: https://bids-website.readthedocs.io/en/latest/?badge=latest
4621

47-
Same as for the install but you will also need to install `tox`.
22+
## Contributing to the BIDS website
4823

49-
```bash
50-
pip install tox
51-
```
52-
<!-- TODO find minimal version of node and npm -->
53-
For some quality checks and rare operations, you will need node.js and npm.
24+
To contribute to the website,
25+
see our [contributing guidelines](./CONTRIBUTING.md)
26+
and please submit an [issue](https://github.com/bids-standard/bids-website/issues)
27+
or send a [pull request](https://github.com/bids-standard/bids-website/pulls) to this repository.
5428

55-
## Update all files
29+
## Contributing to the BIDS specification
5630

57-
```bash
58-
make update
59-
```
31+
The specification is hosted on [https://bids-specification.readthedocs.io](https://bids-specification.rtfd.io).
32+
To contribute to the specification,
33+
please submit an [issue](https://github.com/bids-standard/bids-specification/issues)
34+
or send a [pull request](https://github.com/bids-standard/bids-specification/pulls)
35+
on the [bids-specification](https://github.com/bids-standard/bids-specification) repository.
6036

61-
## Run all formatting / linting tools
37+
## Asking questions about BIDS
6238

63-
```bash
64-
tox
65-
make remark
66-
```
39+
If you have questions how to apply BIDS to your dataset,
40+
how to use a shared BIDS dataset,
41+
or about tools to convert and/or handle BIDS datasets,
42+
please see the [getting started section](https://bids-website.readthedocs.io/en/latest/getting_started/index.html) page,
43+
and our [FAQ](https://bids-website.readthedocs.io/en/latest/faq/index.html).

data/people/advisory.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101
git: william_clarke
102102
- name: Martin Wilson
103103
git: martin_wilson
104-
104+
105105
# - title: BEP025 Medical Imaging Data Structure (MIDS)
106106
# not included for now, as not merged into BIDS specification
107107

data/working_groups.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
# url:
3636
# chairs:
3737
# - name:
38-
# email:
38+
# email:
3939
# status: active
4040

4141
- title: Code of conducts amendments

docs/blog/posts/bids-news-september-2024.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ The BIDS Maintainers, Steering Group, working groups, and other contributors hav
1616

1717
The BIDS specification has released a new minor version\! The highlights are:
1818

19-
* Integrating BEP022 for Magnetic Resonance Spectroscopy
20-
* Publishing the BIDS schema to [JavaScript Registry](https://jsr.io/@bids/schema)
19+
* Integrating BEP022 for Magnetic Resonance Spectroscopy
20+
* Publishing the BIDS schema to [JavaScript Registry](https://jsr.io/@bids/schema)
2121
* For the full list of changes, you can read [the changelog](https://bids-specification.readthedocs.io/en/stable/CHANGES.html#v1100-2024-09-06)
2222

2323
## Schema-based BIDS validator deployed on validator site
@@ -46,9 +46,9 @@ BIDS continues to be featured in different venues. Our very own maintainer extra
4646

4747
The BEPs carry on to help us all update the standard with new and previously unestablished data types and improvements. If there's a BEP here that affects you, consider getting involved by commenting on open Google Docs or GitHub pull requests or contacting the leads listed in the BEP. Here’s some of our newest BEPs.
4848

49-
* [BEP041](https://bids.neuroimaging.io/bep041): Statistical Model (Taylor Salo)
50-
* [BEP042](https://bids.neuroimaging.io/bep042): Electromyography (Seyed Yahya Shirazi)
51-
* [BEP043](https://bids.neuroimaging.io/bep043): Term mapping (Chris Markiewicz & Eric Earl)
49+
* [BEP041](https://bids.neuroimaging.io/bep041): Statistical Model (Taylor Salo)
50+
* [BEP042](https://bids.neuroimaging.io/bep042): Electromyography (Seyed Yahya Shirazi)
51+
* [BEP043](https://bids.neuroimaging.io/bep043): Term mapping (Chris Markiewicz & Eric Earl)
5252
* [BEP044](https://bids.neuroimaging.io/bep044): Stimuli (Seyed Yahya Shirazi)
5353

5454
Other BEPs are listed on [the BIDS website](https://bids-website.readthedocs.io/en/latest/extensions/beps.html).

docs/collaboration/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Help make BIDS better!
22

3-
BIDS is informed, supported, and guided by its users. BIDS standards are intended to change and evolve as methods, resources, and the needs of the BIDS community changes. We encourage all researchers to contribute to the ongoing development of BIDS standards, be it through discussion on websites, the creation of new BIDS tools, or contributing to extending the BIDS specification through proposals. Below is a list of common resources where users can get involved in making the BIDS standard better!
3+
BIDS is informed, supported, and guided by its users. BIDS standards are intended to change and evolve as methods, resources, and the needs of the BIDS community changes. We encourage all researchers to contribute to the ongoing development of BIDS standards, be it through discussion on websites, the creation of new BIDS tools, or contributing to extending the BIDS specification through proposals. Below is a list of common resources where users can get involved in making the BIDS standard better!
44

55
<u>Neurostars Website</u>
66

docs/getting_started/bids_apps/tutorial.md

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -41,23 +41,17 @@ the docker image will be automatically downloaded from Docker Hub.
4141

4242
## Running a BIDS App on a cluster (HPC)
4343

44-
Before a BIDS App can be run on a cluster,
45-
it first needs to be saved to an Apptainer-compatible image file.1
46-
This step needs to be performed outside of the cluster (for example on a laptop) and requires Docker:
44+
HPC clusters typically require Apptainer/Singularity rather than Docker.
45+
Apptainer (and later versions of Singularity) directly support [Docker/OCI images](https://apptainer.org/docs/user/latest/docker_and_oci.html).
4746

4847
```bash
49-
docker run --privileged -ti --rm \
50-
-v /var/run/docker.sock:/var/run/docker.sock \
51-
-v /home/srycajal/apptainer_images:/output \
52-
singularityware/docker2singularity \
53-
bids/example:0.0.4
48+
apptainer build bids-example-0.0.7.sif docker://bids/example:0.0.7
5449
```
5550

56-
Where `/home/srycajal/apptainer_images` is a path where the image will be stored.
5751
After transferring the .img file to a cluster it can be run like any other executable:
5852

5953
```bash
60-
./bids_example-0.0.4.img /bids_dataset /outputs participant --participant_label 01
54+
./bids_example-0.0.7.img /bids_dataset /outputs participant --participant_label 01
6155
```
6256

6357
## Helpful links

docs/getting_started/folders_and_files/files.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -736,4 +736,4 @@ in which case those values are listed in <code>&lt;&gt;</code>, separated by <co
736736
</ul>
737737

738738
</details>
739-
<!-- MICR TEMPLATE ENDS HERE: do not edit manually -->
739+
<!-- MICR TEMPLATE ENDS HERE: do not edit manually -->
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
1-
A BIDS dataset basically consists of a collection of folders and files.
1+
# BIDS Folders and Files
2+
3+
A BIDS dataset consists of a collection of folders and files that are organized and named in compliance with the BIDS specification.
4+
The following sections provide more information on how to properly organize and name your data.

0 commit comments

Comments
 (0)