-
Notifications
You must be signed in to change notification settings - Fork 533
DOCS: add brief neurodocker tutorial #2464
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
doc/users/install.rst
Outdated
@@ -14,7 +14,7 @@ You can follow the `Nipype tutorial <https://miykael.github.io/nipype_tutorial/> | |||
or use this docker container: `docker pull nipype/nipype` | |||
|
|||
or if you want to build custom docker containers with specific versions of | |||
software see `Neurodocker <https://github.com/kaczmarj/neurodocker>`_ | |||
software see Neurodocker_. Read the `brief tutorial <neurodocker.html>`_. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kaczmarj - i don't think the html is necessary.
just: brief tutorial <neurodocker_tutorial>
_.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@satra - i could not get that to render properly, so i used :doc:neurodocker
instead.
doc/users/install.rst
Outdated
@@ -108,7 +108,7 @@ Interface Dependencies | |||
Nipype provides wrappers around many neuroimaging tools and contains some | |||
algorithms. These tools will need to be installed for Nipype to run. You can | |||
create containers with different versions of these tools installed using | |||
`Neurodocker <https://github.com/kaczmarj/neurodocker>`_ | |||
Neurodocker_. Read the `brief tutorial <neurodocker.html>`_. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - minor comments
doc/users/neurodocker.rst
Outdated
image. The package manager is ``apt`` or ``yum``, depending on the base | ||
image. | ||
2. Next, users should configure the container to fit their needs. This includes | ||
installing neuroimaing software, installing packages from the chosen package |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
neuroimaging
doc/users/neurodocker.rst
Outdated
Use NeuroDebian | ||
--------------- | ||
|
||
This example install AFNI and ANTs from the NeuoDebian repositories. It also |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
installs
doc/users/neurodocker.rst
Outdated
This example install AFNI and ANTs from the NeuoDebian repositories. It also | ||
installs ``git`` and ``vim``. | ||
:: | ||
$ docker run --rm kaczmarj/neurodocker:v0.3.2 generate --base neurodebian:stretch --pkg-manager apt --install afni ants git vim |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
perhaps break this line with a backslash
@kaczmarj - don't forget to add the new tutorial to |
just noticed that this is part of |
You should be able to link with the text of the section header.
On Feb 23, 2018 5:27 PM, "Jakub Kaczmarzyk" <notifications@github.com> wrote:
*@kaczmarj* commented on this pull request.
------------------------------
In doc/users/install.rst
<#2464 (comment)>:
@@ -14,7 +14,7 @@ You can follow the `Nipype tutorial <https://miykael.github.io/nipype_tutorial/>
or use this docker container: `docker pull nipype/nipype`
or if you want to build custom docker containers with specific versions of
-software see `Neurodocker <https://github.com/kaczmarj/neurodocker
`_
+software see Neurodocker_. Read the `brief tutorial <neurodocker.html>`_.
@satra <https://github.com/satra> - i could not get that to render
properly, so i used :doc:neurodocker instead.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#2464 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAFF8mVMRY-RwNqCygri4Wiq9svmKrDuks5tXzs_gaJpZM4SRgpj>
.
|
Codecov Report
@@ Coverage Diff @@
## master #2464 +/- ##
==========================================
- Coverage 66.67% 66.66% -0.01%
==========================================
Files 328 328
Lines 42551 42551
Branches 5276 5276
==========================================
- Hits 28370 28366 -4
- Misses 13501 13505 +4
Partials 680 680
Continue to review full report at Codecov.
|
Should I update the links to the tutorial? I got the syntax from https://github.com/nipy/nipype/blob/master/doc/users/joinnode_and_itersource.rst. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A couple stylistic comments. Overall this looks great.
doc/users/install.rst
Outdated
@@ -14,7 +14,7 @@ You can follow the `Nipype tutorial <https://miykael.github.io/nipype_tutorial/> | |||
or use this docker container: `docker pull nipype/nipype` | |||
|
|||
or if you want to build custom docker containers with specific versions of | |||
software see `Neurodocker <https://github.com/kaczmarj/neurodocker>`_ | |||
software see Neurodocker_. Read the brief :doc:`neurodocker`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't like the way this whole section ends up looking, with blank lines followed by sentence fragments.
What about:
To get started using Docker, you can follow the `Nipype tutorial
<https://miykael.github.io/nipype_tutorial/>`_, or pull the `nipype/nipype`
image from Docker hub::
docker pull nipype/nipype
You may also build custom docker containers with specific versions of software
using Neurodocker_ (see `Neurodocker tutorial`_).
(:doc:
works, so go ahead and do that if you want. I'm just demonstrating what I meant earlier.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added this, but the Neurodocker tutorial link still does not render properly for me when written this way. I kept the :doc: syntax.
doc/users/install.rst
Outdated
`Neurodocker <https://github.com/kaczmarj/neurodocker>`_ | ||
Neurodocker_. Read the brief :doc:`neurodocker`. | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Too many blank lines.
doc/users/install.rst
Outdated
@@ -108,7 +108,9 @@ Interface Dependencies | |||
Nipype provides wrappers around many neuroimaging tools and contains some | |||
algorithms. These tools will need to be installed for Nipype to run. You can | |||
create containers with different versions of these tools installed using | |||
`Neurodocker <https://github.com/kaczmarj/neurodocker>`_ | |||
Neurodocker_. Read the brief :doc:`neurodocker`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would prefer that this be parenthetical, rather than a sentence. See above suggestion.
Fixes #2439.
Changes proposed in this pull request
link_names.txt
.