Skip to content

Commit 22798ce

Browse files
committed
fix typos and start of travis tests
1 parent 6f26dd0 commit 22798ce

File tree

7 files changed

+44
-15
lines changed

7 files changed

+44
-15
lines changed

.dockerignore

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ build/**/*
88
build
99
dist/**/*
1010
dist
11-
fmriprep.egg-info/**/*
12-
fmriprep.egg-info
11+
dmriprep.egg-info/**/*
12+
dmriprep.egg-info
1313
.eggs/**/*
1414
.eggs
1515

@@ -39,4 +39,4 @@ out/
3939
.zenodo.json
4040
.travis.yml
4141
.readthedocs.yml
42-
CONTRIBUTING.md
42+
CONTRIBUTING.rst

.github/config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ newPRWelcomeComment: >
55
Thanks for opening this pull request!
66
We have detected this is the first time for you to contribute
77
to *dMRIPrep*.
8-
Please check out our [contributing guidelines](https://github.com/nipreps/dmriprep/blob/master/CONTRIBUTING.md).
9-
8+
Please check out our [contributing guidelines](https://github.com/nipreps/dmriprep/blob/master/CONTRIBUTING.rst).
9+
1010
We invite you to list yourself as a *dMRIPrep* contributor, so if your name
1111
is not already mentioned, please modify the
1212
[``.zenodo.json``](https://github.com/nipreps/dmriprep/blob/master/.zenodo.json)
@@ -25,4 +25,4 @@ newPRWelcomeComment: >
2525
Of course, if you want to opt-out this time there is no
2626
problem at all with adding your name later.
2727
You will be always welcome to add it in the future whenever
28-
you feel it should be listed.
28+
you feel it should be listed.

.travis.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
dist: xenial
2+
sudo: true
3+
4+
language: python
5+
python:
6+
- 3.5
7+
- 3.6
8+
- 3.7
9+
10+
# Command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
11+
install: pip install -U tox-travis
12+
13+
# Command to run tests, e.g. python setup.py test
14+
script: tox
15+
16+
# Assuming you have installed the travis-ci CLI tool, after you
17+
# create the Github repo and add it to Travis, run the
18+
# following command to finish PyPI deployment setup:
19+
# $ travis encrypt --add deploy.password
20+
deploy:
21+
provider: pypi
22+
distributions: sdist bdist_wheel
23+
user: nipy
24+
password:
25+
secure: PLEASE_REPLACE_ME
26+
on:
27+
tags: true
28+
repo: nipreps/dmriprep
29+
python: 3.7

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ RUN pip install --no-cache-dir "$( grep templateflow fmriprep-setup.cfg | xargs
163163
find $HOME/.cache/templateflow -type d -exec chmod go=u {} + && \
164164
find $HOME/.cache/templateflow -type f -exec chmod go=u {} +
165165

166-
# Installing FMRIPREP
166+
# Installing DMRIPREP
167167
COPY . /src/dmriprep
168168
ARG VERSION
169169
# Force static versioning within container

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ dmriprep
44

55
.. image:: https://badgen.net/badge/chat/on%20mattermost/blue
66
:target: https://mattermost.brainhack.org/brainhack/channels/dmriprep
7-
7+
88
.. image:: https://img.shields.io/pypi/v/dmriprep.svg
99
:target: https://pypi.python.org/pypi/dmriprep
1010

@@ -49,4 +49,4 @@ segmentation, skullstripping etc.) providing outputs that can be
4949
easily submitted to a variety of tractography algorithms.
5050

5151
[Documentation `dmriprep.org <https://dmriprep.readthedocs.io>`_]
52-
[Support `neurostars.org <https://neurostars.org/tags/fmriprep>`_]
52+
[Support `neurostars.org <https://neurostars.org/tags/dmriprep>`_]

dmriprep/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
'__packagename__',
1616
]
1717

18-
# cmp is not used by fmriprep, so ignore nipype-generated warnings
18+
# cmp is not used by dmriprep, so ignore nipype-generated warnings
1919
_warnings.filterwarnings('ignore', r'cmp not installed')
2020
_warnings.filterwarnings('ignore', r'This has not been fully tested. Please report any failures.')
2121
_warnings.filterwarnings('ignore', r"can't resolve package from __spec__ or __package__")

dmriprep/utils/bids.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,10 @@ def write_derivative_description(bids_dir, deriv_dir):
6060
}
6161

6262
# Keys that can only be set by environment
63-
if 'FMRIPREP_DOCKER_TAG' in os.environ:
64-
desc['DockerHubContainerTag'] = os.environ['FMRIPREP_DOCKER_TAG']
65-
if 'FMRIPREP_SINGULARITY_URL' in os.environ:
66-
singularity_url = os.environ['FMRIPREP_SINGULARITY_URL']
63+
if 'DMRIPREP_DOCKER_TAG' in os.environ:
64+
desc['DockerHubContainerTag'] = os.environ['DMRIPREP_DOCKER_TAG']
65+
if 'DMRIPREP_SINGULARITY_URL' in os.environ:
66+
singularity_url = os.environ['DMRIPREP_SINGULARITY_URL']
6767
desc['SingularityContainerURL'] = singularity_url
6868

6969
singularity_md5 = _get_shub_version(singularity_url)
@@ -88,7 +88,7 @@ def write_derivative_description(bids_dir, deriv_dir):
8888

8989

9090
def validate_input_dir(exec_env, bids_dir, participant_label):
91-
# Ignore issues and warnings that should not influence FMRIPREP
91+
# Ignore issues and warnings that should not influence dMRIPrep
9292
import tempfile
9393
import subprocess
9494
validator_config_dict = {

0 commit comments

Comments
 (0)