Skip to content

Commit

Permalink
apidoc list items must be separated by a line.
Browse files Browse the repository at this point in the history
  • Loading branch information
FredLoney committed Jun 20, 2017
1 parent 783bd2b commit 4872b00
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
2 changes: 2 additions & 0 deletions qipipe/helpers/roi.py
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,9 @@ def _furthest_point(self, distances, *reference):
def _distances(self, points):
"""
Returns a N x N matrix of the (i,j) point distances, where:
* N = the number of points
* i, j = 0, ..., N
:param points: the subject points
Expand Down
11 changes: 8 additions & 3 deletions qipipe/pipeline/staging.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
def run(subject, session, scan, *in_dirs, **opts):
"""
Runs the staging workflow on the given DICOM input directory.
The return value is a {volume: file} dictionary, where *volume*
The return value is a {*volume*: *file*} dictionary, where *volume*
is the volume number and *file* is the 3D NIfTI volume file.
:param subject: the subject name
Expand Down Expand Up @@ -352,7 +352,7 @@ class VolumeStagingWorkflow(WorkflowBase):
- *session* is the session name, e.g. ``Session03``
* *volume number* is determined by the
- *volume number* is determined by the
:attr:`qipipe.staging.image_collection.Collection.patterns`
``volume`` DICOM tag
Expand All @@ -361,15 +361,18 @@ class VolumeStagingWorkflow(WorkflowBase):
The staging workflow output is the *output_spec* node consisting
of the following output field:
* _image_: the 3D volume stack NIfTI image file
- *image*: the 3D volume stack NIfTI image file
Note: Concurrent XNAT upload fails unpredictably due to one of
the causes described in the ``qixnat.facade.XNAT.find`` method
documentation.
The errors are addressed by the following measures:
* setting an isolated pyxnat cache_dir for each execution node
* serializing the XNAT find-or-create access points with JoinNodes
* increasing the SGE submission resource parameters as shown in
the ``conf/staging.cfg [upload]`` section
Expand Down Expand Up @@ -511,8 +514,10 @@ def stage_volume(collection, subject, session, scan, volume, in_files,
are placed in the *dest*/*volume* subdirectory. The child
:class:`VolumeStagingWorkflow` runs in the
_parent_/volume\ _volume_ directory, where:
* _parent_ is the parent base directory specified in the
options (default current directory)
* _volume_ is the volume argument
:param collection: the collection name
Expand Down
3 changes: 3 additions & 0 deletions qipipe/staging/iterator.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,11 @@ def __iter__(self):
"""
Returns the next (subject, session, scan_dict) tuple for the
scans in the session directories, where:
- *subject* is the subject name
- *session* is the session name
- *scan_dict* is the scan {number: {dicom, roi}}
dictionary
Expand Down

0 comments on commit 4872b00

Please sign in to comment.