Skip to content

Commit 495e3fa

Browse files
committed
enh: add examples of files
1 parent dbb8f2a commit 495e3fa

File tree

1 file changed

+127
-24
lines changed

1 file changed

+127
-24
lines changed

docs/community/licensing.md

Lines changed: 127 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -64,25 +64,25 @@ At the time of writing, the header comment of [this file](https://github.com/nip
6464
!!! example "Header comment in the original Work"
6565

6666
=== "With attribution notice"
67-
```{.python}
68-
# emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*-
69-
# vi: set ft=python sts=4 ts=4 sw=4 et:
70-
#
71-
# Copyright 2021 The NiPreps Developers <[email protected]>
72-
#
73-
# Licensed under the Apache License, Version 2.0 (the "License");
74-
# you may not use this file except in compliance with the License.
75-
# You may obtain a copy of the License at
76-
#
77-
# http://www.apache.org/licenses/LICENSE-2.0
78-
#
79-
# Unless required by applicable law or agreed to in writing, software
80-
# distributed under the License is distributed on an "AS IS" BASIS,
81-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
82-
# See the License for the specific language governing permissions and
83-
# limitations under the License.
84-
"""Visualization tooling."""
85-
```
67+
```{.python}
68+
# emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*-
69+
# vi: set ft=python sts=4 ts=4 sw=4 et:
70+
#
71+
# Copyright 2021 The NiPreps Developers <[email protected]>
72+
#
73+
# Licensed under the Apache License, Version 2.0 (the "License");
74+
# you may not use this file except in compliance with the License.
75+
# You may obtain a copy of the License at
76+
#
77+
# http://www.apache.org/licenses/LICENSE-2.0
78+
#
79+
# Unless required by applicable law or agreed to in writing, software
80+
# distributed under the License is distributed on an "AS IS" BASIS,
81+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
82+
# See the License for the specific language governing permissions and
83+
# limitations under the License.
84+
"""Visualization tooling."""
85+
```
8686
=== "Without attribution notice"
8787
```{.python}
8888
# emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*-
@@ -114,13 +114,13 @@ Either way (whether the attribution notice is present or not), we suggest to upd
114114
# ORIGINAL WORK'S ATTRIBUTION NOTICE:
115115
#
116116
# Copyright 2021 The NiPreps Developers <[email protected]>
117-
#
117+
#
118118
# Licensed under the Apache License, Version 2.0 (the "License");
119119
# you may not use this file except in compliance with the License.
120120
# You may obtain a copy of the License at
121-
#
121+
#
122122
# http://www.apache.org/licenses/LICENSE-2.0
123-
#
123+
#
124124
# Unless required by applicable law or agreed to in writing, software
125125
# distributed under the License is distributed on an "AS IS" BASIS,
126126
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -153,5 +153,108 @@ Generally, works using our *NiPreps* just need to follow the citation guidelines
153153
Container images redistribute copies of *NiPreps* alongside their third-party dependencies, all of them bundled in the image.
154154
That means that the text of a `NOTICE` file must be shown to the user.
155155
All *NiPreps* must insert a `NOTICE` file into their containerized distributions and print its contents out in the command line output, as well as in the visual reports.
156-
This `NOTICE` file for containers will be placed in the `/.docker/NOTICE` path of the repository.
157-
If the particular project already has a `NOTICE` file, the contents of `/.docker/NOTICE` must be appended to the `/NOTICE` file at image building time.
156+
This `NOTICE` file for containers will be placed in the `/.docker/NOTICE` path of the repository, and this file must replace the `/NOTICE` file (if it exists) at image building time.
157+
158+
!!! example "Example `NOTICE` file examples for *fMRIPrep*"
159+
160+
=== `/NOTICE`
161+
```{.python}
162+
fMRIPrep
163+
Copyright 2021 The NiPreps Developers.
164+
165+
This product includes software developed by
166+
the NiPreps Community (https://nipreps.org/).
167+
168+
Portions of this software were developed at the Department of
169+
Psychology at Stanford University, Stanford, CA, US.
170+
171+
This software contains code ultimately derived from the epidewarp.fsl
172+
script (https://www.nmr.mgh.harvard.edu/~greve/fbirn/b0/epidewarp.fsl)
173+
by Doug Greve, Dave Tuch, Tom Liu, and Bryon Mueller with generous
174+
help from the FSL crew (www.fmrib.ox.ac.uk/fsl) and the Biomedical
175+
Informatics Research Network (www.nbirn.net).
176+
```
177+
178+
=== `/.docker/NOTICE`
179+
```{.python}
180+
fMRIPrep Container Image distribution
181+
Copyright 2021 The NiPreps Developers.
182+
183+
This product includes fMRIPrep and software developed by
184+
the NiPreps Community (https://nipreps.org/).
185+
186+
Portions of this software were developed at the Department of
187+
Psychology at Stanford University, Stanford, CA, US.
188+
189+
This product bundles AFNI <version-placeholder>, which is available under
190+
the Gnu General Public License.
191+
Major portions of AFNI were written at the Medical College of Wisconsin,
192+
which owns the copyright to that code. For fuller details, see
193+
http://afni.nimh.nih.gov/pub/dist/src/README.copyright.
194+
195+
This product bundles ANTs <version-placeholder>, which is available under
196+
the BSD 3-clause license terms.
197+
Copyright 2009-2013 ConsortiumOfANTS.
198+
199+
This product bundles BIDS-Validator <version-placeholder>, which is available
200+
under the MIT License.
201+
Copyright 2015 The Board of Trustees of the Leland Stanford Junior University.
202+
203+
This product bundles the Connectome Workbench <version-placeholder>, which
204+
is available under the GPL-v2
205+
(https://www.humanconnectome.org/software/connectome-workbench-license).
206+
207+
This product bundles FSL <version-placeholder>, which is available
208+
under a custom license with commercial restrictions
209+
(https://fsl.fmrib.ox.ac.uk/fsl/fslwiki/Licence).
210+
Copyright 2018, The University of Oxford.
211+
212+
This product bundles FreeSurfer <version-placeholder>, which is available
213+
under a custom license and requires obtaining a license key
214+
(https://surfer.nmr.mgh.harvard.edu/fswiki/FreeSurferSoftwareLicense).
215+
Copyright 2011, The General Hospital Corporation, Boston MA, USA.
216+
217+
This product bundles code derived from ICA-AROMA, both (fork and original work)
218+
are available under the Apache-2.0 license.
219+
(https://github.com/oesteban/ICA-AROMA/blob/master/license.md)
220+
Copyright 2021, Maarten Mennes
221+
222+
This product bundles Miniconda <version-placeholder>, which is available
223+
under a BSD 3-clause license.
224+
(c) 2017 Continuum Analytics, Inc. (dba Anaconda, Inc.).
225+
https://www.anaconda.com. All Rights Reserved
226+
227+
This product bundles NeuroDebian, which adheres to the
228+
Debian Free Software Guidelines (DFSG)
229+
https://www.debian.org/social_contract#guidelines
230+
and the terms of the Debian Social Contract version 1.1.
231+
232+
This product bundles tools by the NiPy community, such as NiBabel
233+
(MIT License, https://github.com/nipy/nibabel/blob/master/COPYING),
234+
and NiPype (Apache-2.0, https://github.com/nipy/nipype/blob/master/LICENSE).
235+
236+
This product bundles SVGO <version-placeholder>, which is available
237+
under the MIT License.
238+
Copyright (c) Kir Belevich
239+
240+
This product bundles Pandoc <version-placeholder>, which is available
241+
under the GPL version 2 or later.
242+
Copyright (C) 2006-2021 John MacFarlane <jgm at berkeley dot edu>
243+
244+
TemplateFlow, a component of this bundle, contains neuroimaging template
245+
and atlas data under several permissive licenses.
246+
Please refer to the metadata of the particular template used in your study to
247+
determine the exact terms of the license and how to acknowledge attribution
248+
of those works.
249+
250+
sMRIPrep, a component of this bundle, contains code ultimately derived from
251+
ANTs <version-placeholder>, which is available under
252+
the BSD 3-clause license terms.
253+
Copyright 2009-2013 ConsortiumOfANTS.
254+
255+
fMRIPrep contains code ultimately derived from the epidewarp.fsl
256+
script (https://www.nmr.mgh.harvard.edu/~greve/fbirn/b0/epidewarp.fsl)
257+
by Doug Greve, Dave Tuch, Tom Liu, and Bryon Mueller with generous
258+
help from the FSL crew (www.fmrib.ox.ac.uk/fsl) and the Biomedical
259+
Informatics Research Network (www.nbirn.net).
260+
```

0 commit comments

Comments
 (0)