Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
FSL
funpack
Commits
8fe199dc
Commit
8fe199dc
authored
Jun 24, 2022
by
Paul McCarthy
🚵
Browse files
DOC: small tweaks
parent
d070047a
Changes
2
Hide whitespace changes
Inline
Side-by-side
README.rst
View file @
8fe199dc
...
...
@@ -139,10 +139,7 @@ Built-in rules
FUNPACK contains a large number of built-in rules which have been specifically
written to pre-process UK BioBank data variables. These rules are stored in
the following files (the ``funpack/`` directory is located in
``<python-env>/lib/python<X.Y>/site-packages/funpack/``, where
``<python-env>`` is the location of your Python environment directory, and
``<X.Y>`` is the Python version you are using):
the following files[*]_:
* ``funpack/configs/fmrib/datacodings_*.tsv``: Cleaning rules for data
codings
...
...
@@ -151,6 +148,11 @@ the following files (the ``funpack/`` directory is located in
* ``funpack/configs/fmrib/processing.tsv``: Processing steps
* ``funpack/configs/fmrib/categories.tsv``: Variable categories
.. [*] The ``funpack/`` directory is located in
``<python-env>/lib/python<X.Y>/site-packages/funpack/``, where
``<python-env>`` is the location of your Python environment directory,
and ``<X.Y>`` is the Python version you are using.
You can use these rules by using the FMRIB configuration profile::
...
...
@@ -294,7 +296,7 @@ Tests
To run the test suite, you need to install some additional dependencies::
pip install fmrib-unpack[test]
pip install fmrib-unpack[test]
Then you can run the test suite using ``pytest``::
...
...
funpack/importing/core.py
View file @
8fe199dc
...
...
@@ -145,7 +145,8 @@ def importData(fileinfo,
the processing rules are selected for import if
present in the input file(s) and not already
selected, and . See the ``take`` argument to
:func:`.binariseCategorical` for an example.
:func:`.processing_functions.binariseCategorical`
for an example.
:arg njobs: Number of processes to use for parallelising tasks.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment