Skip to content

Commit 3467341

Browse files
authored
Merge pull request #327 from nipy/doc/rtd
DOC: readthedocs
2 parents f8d6b9a + d80a46f commit 3467341

20 files changed

+547
-6
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@
33
.coverage
44
*.egg-info/
55
.idea/
6+
venvs/
7+
_build/

CHANGELOG.md

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,14 @@ TODO Summary
1616

1717
### Fixed
1818

19+
- TODO: fix: embedding issue (([#306][]))
20+
- TODO: ([#304][]) from mgxd/fix/queue
21+
- TODO: ([#301][]) from franklin-feingold/master
22+
- TODO: fix/queue
23+
- TODO: ([#293][]) from mgxd/multiecho
1924
- correctly handle the case when `outtype` of heuristic has "dicom"
2025
before '.nii.gz'. Previously would have lead to absent additional metadata
21-
extraction etc
26+
extraction etc ([#310][])
2227

2328
### Removed
2429

@@ -122,28 +127,28 @@ The first release after major refactoring:
122127
- Many other various issues
123128

124129
## [0.4] - 2017-10-15
125-
A usable release to support [DBIC] use-case
130+
A usable release to support [DBIC][] use-case
126131
### Added
127132
- more testing
128133
### Changes
129-
- Dockerfile updates (added pigz, progressed forward [dcm2niix])
134+
- Dockerfile updates (added pigz, progressed forward [dcm2niix][])
130135
### Fixed
131136
- correct date/time in BIDS `_scans` files
132137
- sort entries in `_scans` by date and then filename
133138

134139
## [0.3] - 2017-07-10
135-
A somewhat working release on the way to support [DBIC] use-case
140+
A somewhat working release on the way to support [DBIC][] use-case
136141
### Added
137142
- more tests
138143
- groupping of dicoms by series if provided
139144
- many more features and fixes
140145

141146
## [0.2] - 2016-10-20
142-
An initial release on the way to support [DBIC] use-case
147+
An initial release on the way to support [DBIC][] use-case
143148
### Added
144149
- basic Python project assets (`setup.py`, etc)
145150
- basic tests
146-
- [datalad] support
151+
- [datalad][] support
147152
- dbic_bids heuristic
148153
- `--dbg` command line flag to enter `pdb` environment upon failure
149154
## Fixed
@@ -173,3 +178,8 @@ TODO Summary
173178
[DBIC]: http://dbic.dartmouth.edu
174179
[datalad]: http://datalad.org
175180
[dcm2niix]: https://github.com/rordenlab/dcm2niix
181+
[#293]: https://github.com/nipy/heudiconv/issues/293
182+
[#301]: https://github.com/nipy/heudiconv/issues/301
183+
[#304]: https://github.com/nipy/heudiconv/issues/304
184+
[#306]: https://github.com/nipy/heudiconv/issues/306
185+
[#310]: https://github.com/nipy/heudiconv/issues/310

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

docs/api/parser.rst

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

docs/api/queue.rst

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

0 commit comments

Comments
 (0)