File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed
Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -339,6 +339,19 @@ on if you need to extend or redo your analysis.
339339 remote resources, see [ReproNim/reproman PR#438](https://github.com/ReproNim/reproman/pull/438);
340340- a copy of the dataset is made available from [`///repronim/ds000003-qc`](http://datasets.datalad.org/?dir=/repronim/ds000003-qc)
341341 and [https://github.com/ReproNim/ds000003-qc]().
342+ - if you would like to create `licenses/` folder in your project datasets
343+ to e.g. contain license for freesurfer, then you better add them to git-annex.
344+ Following commands provide one way to do it:
345+
346+ ```shell
347+ mkdir licenses
348+ # instruct git-annex to add license files to annex, but this added file with instructions to git
349+ echo -e ' * annex.largefiles=anything\n .gitattributes annex.largefiles=nothing' > licenses/.gitattributes
350+ datalad save -m "Add licenses must go into git-annex so I could avoid sharing them" licenses/.gitattributes
351+ cp ~/.freesurfer-license licenses/freesurfer
352+ datalad save -m ' added freesurfer license' licenses/freesurfer
353+ ```
354+
342355
343356
344357# Installation
Original file line number Diff line number Diff line change 33#
44# Inspired by https://github.com/ReproNim/containers/issues/137#issuecomment-2877505303
55#
6- git annex find --in here | grep ' \.si*' | while read f; do
6+ git annex find --in here | grep ' \.si*' | while read -r f; do
77 { singularity run " $f " --help 2>&1 && echo " $f : ok" || echo " $f : failed to execute --help" >&2 ; } | grep -q " no runscript" && echo " $f : no runscript" >&2 ;
88done
You can’t perform that action at this time.
0 commit comments