Skip to content

Commit dca1739

Browse files
committed
update changes, sync with master
2 parents 2d07d3b + 6b2a460 commit dca1739

29 files changed

+708
-103
lines changed

.github/ISSUE_TEMPLATE.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
<!-- DO NOT DELETE THIS!
2+
This template is used to facilitate issue resolution.
3+
All text in <!-> tags will not be displayed.
4+
-->
5+
16
### Summary
27
<!-- If you are having conversion troubles, please share as much
38
relevant information as possible. This includes, but is not limited to:
@@ -16,4 +21,4 @@ Choose one:
1621
<!-- If selected, please provide container name and tag"-->
1722

1823
- Heudiconv version:
19-
<!-- Command: heudiconv --version -->
24+
<!-- To check: run heudiconv with just the --version flag -->

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@
44
*.egg-info/
55
.idea/
66
venvs/
7+
_build/

CHANGELOG.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ All notable changes to this project will be documented (for humans) in this file
44
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
55
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
66

7-
## [0.5.4] - Date
7+
## [0.5.4] - 2019-04-29
88

99
This release includes fixes to BIDS multi-echo conversions, the
1010
re-implementation of queuing support (currently just SLURM), as well as
@@ -16,16 +16,19 @@ This release includes fixes to BIDS multi-echo conversions, the
1616

1717
### Added
1818
- Additional Stanford tutorial added to README ([#301])
19+
- Readthedocs documentation ([#327])
1920

2021
### Changed
21-
- `--sbargs` argument was renamed to `--queue-args` ([#304])
22+
- Update Docker dcm2niix to v.1.0.20190410 ([#334])
2223
- Allow usage of `--files` with basic heuristics. This requires
2324
use of `--subject` flag, and is limited to one subject. ([#293])
2425

2526
### Deprecated
27+
- `--sbargs` argument was renamed to `--queue-args` ([#304])
2628

2729
### Fixed
2830

31+
- Improve support for multiple `--queue-args` ([#328])
2932
- Fixed an issue where generated BIDS sidecar files were missing additional
3033
information - treating all conversions as if the `--minmeta` flag was
3134
used ([#306])
@@ -137,28 +140,28 @@ The first release after major refactoring:
137140
- Many other various issues
138141

139142
## [0.4] - 2017-10-15
140-
A usable release to support [DBIC] use-case
143+
A usable release to support [DBIC][] use-case
141144
### Added
142145
- more testing
143146
### Changes
144-
- Dockerfile updates (added pigz, progressed forward [dcm2niix])
147+
- Dockerfile updates (added pigz, progressed forward [dcm2niix][])
145148
### Fixed
146149
- correct date/time in BIDS `_scans` files
147150
- sort entries in `_scans` by date and then filename
148151

149152
## [0.3] - 2017-07-10
150-
A somewhat working release on the way to support [DBIC] use-case
153+
A somewhat working release on the way to support [DBIC][] use-case
151154
### Added
152155
- more tests
153156
- groupping of dicoms by series if provided
154157
- many more features and fixes
155158

156159
## [0.2] - 2016-10-20
157-
An initial release on the way to support [DBIC] use-case
160+
An initial release on the way to support [DBIC][] use-case
158161
### Added
159162
- basic Python project assets (`setup.py`, etc)
160163
- basic tests
161-
- [datalad] support
164+
- [datalad][] support
162165
- dbic_bids heuristic
163166
- `--dbg` command line flag to enter `pdb` environment upon failure
164167
## Fixed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ RUN export ND_ENTRYPOINT="/neurodocker/startup.sh" \
3939

4040
ENTRYPOINT ["/neurodocker/startup.sh"]
4141

42-
ENV PATH="/opt/dcm2niix-v1.0.20180622/bin:$PATH"
42+
ENV PATH="/opt/dcm2niix-v1.0.20181125/bin:$PATH"
4343
RUN apt-get update -qq \
4444
&& apt-get install -y -q --no-install-recommends \
4545
cmake \
@@ -54,10 +54,10 @@ RUN apt-get update -qq \
5454
&& git clone https://github.com/rordenlab/dcm2niix /tmp/dcm2niix \
5555
&& cd /tmp/dcm2niix \
5656
&& git fetch --tags \
57-
&& git checkout v1.0.20180622 \
57+
&& git checkout v1.0.20181125 \
5858
&& mkdir /tmp/dcm2niix/build \
5959
&& cd /tmp/dcm2niix/build \
60-
&& cmake -DCMAKE_INSTALL_PREFIX:PATH=/opt/dcm2niix-v1.0.20180622 .. \
60+
&& cmake -DCMAKE_INSTALL_PREFIX:PATH=/opt/dcm2niix-v1.0.20181125 .. \
6161
&& make \
6262
&& make install \
6363
&& rm -rf /tmp/dcm2niix

README.rst

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
=============
2+
**HeuDiConv**
3+
=============
4+
5+
`a heuristic-centric DICOM converter`
6+
7+
.. image:: https://img.shields.io/badge/docker-nipy/heudiconv:unstable-brightgreen.svg?logo=docker&style=flat
8+
:target: https://hub.docker.com/r/nipy/heudiconv/tags/
9+
:alt: Our Docker image
10+
11+
.. image:: https://travis-ci.org/nipy/heudiconv.svg?branch=master
12+
:target: https://travis-ci.org/nipy/heudiconv
13+
:alt: TravisCI
14+
15+
.. image:: https://codecov.io/gh/nipy/heudiconv/branch/master/graph/badge.svg
16+
:target: https://codecov.io/gh/nipy/heudiconv
17+
:alt: CodeCoverage
18+
19+
.. image:: https://readthedocs.org/projects/heudiconv/badge/?version=latest
20+
:target: http://heudiconv.readthedocs.io/en/latest/?badge=latest
21+
:alt: Readthedocs
22+
23+
About
24+
-----
25+
26+
``heudiconv`` is a flexible DICOM converter for organizing brain imaging data
27+
into structured directory layouts.
28+
29+
- it allows flexible directory layouts and naming schemes through customizable heuristics implementations
30+
- it only converts the necessary DICOMs, not everything in a directory
31+
- you can keep links to DICOM files in the participant layout
32+
- using dcm2niix under the hood, it's fast
33+
- it can track the provenance of the conversion from DICOM to NIfTI in W3C PROV format
34+
- it provides assistance in converting to `BIDS <http://bids.neuroimaging.io/>`_.
35+
- it integrates with `DataLad <https://www.datalad.org/>`_ to place converted and original data under git/git-annex version control, while automatically annotating files with sensitive information (e.g., non-defaced anatomicals, etc)

docs/Makefile

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Minimal makefile for Sphinx documentation
2+
#
3+
4+
# You can set these variables from the command line.
5+
SPHINXOPTS =
6+
SPHINXBUILD = sphinx-build
7+
SOURCEDIR = .
8+
BUILDDIR = _build
9+
10+
# Put it first so that "make" without argument is like "make help".
11+
help:
12+
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
13+
14+
.PHONY: help Makefile
15+
16+
# Catch-all target: route all unknown targets to Sphinx using the new
17+
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
18+
%: Makefile
19+
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

docs/api.rst

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
=============
2+
API Reference
3+
=============
4+
5+
.. toctree::
6+
:maxdepth: 1
7+
8+
api/bids
9+
api/convert
10+
api/dicoms
11+
api/parser
12+
api/queue
13+
api/utils

docs/api/bids.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
====
2+
BIDS
3+
====
4+
5+
.. automodule:: heudiconv.bids

docs/api/convert.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
==========
2+
Conversion
3+
==========
4+
5+
.. automodule:: heudiconv.convert

docs/api/dicoms.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
======
2+
DICOMS
3+
======
4+
5+
.. automodule:: heudiconv.dicoms

0 commit comments

Comments
 (0)