Skip to content

Commit 9652dbd

Browse files
committed
Merge tag '1.1.8' into debian
1.1.8 (January 28, 2019) * FIX: ANTS LaplacianThickness cmdline opts fixed up (nipy#2846) * FIX: Resolve LinAlgError during SVD (nipy#2838) * ENH: Add interfaces wrapping DIPY worflows (nipy#2830) * ENH: Update BIDSDataGrabber for pybids 0.7 (nipy#2737) * ENH: Add FSL `eddy_quad` interface (nipy#2825) * ENH: Support tckgen -select in MRtrix3 v3+ (nipy#2823) * ENH: Support for BIDS event files (nipy#2845) * ENH: CompositeTransformUtil, new ANTs interface (nipy#2785) * RF: Move pytest and pytest-xdist from general requirement into tests_required (nipy#2850) * DOC: Add S3DataGrabber example (nipy#2849) * DOC: Skip conftest module in API generation (nipy#2852) * DOC: Hyperlink DOIs to preferred resolver (nipy#2833) * MAINT: Install numpy!=1.16.0 from conda in Docker (nipy#2862) * MAINT: Drop pytest-xdist requirement, minimum pytest version (nipy#2856) * MAINT: Disable numpy 1.16.0 for Py2.7 (nipy#2855) * tag '1.1.8': (79 commits) MNT: Add @feilong to .zenodo, update ordering MNT: Update .mailmap MNT: Update .zenodo ordering Accept invitation as Zenodo release co-author (see nipy#2864) MAINT: Update .mailmap BF: allowing bids_event_file as alternate input MNT: Update .zenodo ordering MNT: Version 1.1.8 DOC: 1.1.8 changelog Update nipype/interfaces/dipy/tracks.py Update nipype/interfaces/dipy/reconstruction.py MNT: Install numpy!=1.16.0 from conda in Docker Add FSL auto test remake specs Update nipype/interfaces/io.py Remove return type named tuple Update nipype/info.py STY: Whitespace, line length Remove out_ prefix from EddyQuad outputs Apply minor edits from code review ...
2 parents 369f252 + 70add29 commit 9652dbd

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+1122
-183
lines changed

.mailmap

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ Aimi Watanabe <watanabe.aimi@gmail.com> stymy <watanabe.aimi@gmail.com>
33
Alejandro Tabas <alextabas@gmail.com> qTabs <qtabas@gmail.com>
44
Alejandro Tabas <alextabas@gmail.com> qtabs <alextabas@gmail.com>
55
Alejandro de la Vega <aleph4@gmail.com> adelavega <delavega@utexas.edu>
6+
Alejandro de la Vega <aleph4@gmail.com> delavega4 <aleph4@gmail.com>
67
Alexander Schaefer <alexschaefer83@gmail.com> Alexander Schaefer <aschaefer@melisse.cbs.mpg.de>
78
Alexander Schaefer <alexschaefer83@gmail.com> alexschaefer83 <alexschaefer83@gmail.com>
89
Alexander Schaefer <alexschaefer83@gmail.com> aschaefer <aschaefer@aschaefer-U36SD.(none)>
@@ -40,6 +41,7 @@ Christopher J. Markiewicz <effigies@gmail.com> Chris Markiewicz <effigies@gmail.
4041
Christopher J. Markiewicz <effigies@gmail.com> Christopher J. Johnson <effigies@gmail.com>
4142
Christopher J. Markiewicz <effigies@gmail.com> Christopher J. Markiewicz <effigies@bu.edu>
4243
Christopher J. Markiewicz <effigies@gmail.com> Christopher J. Markiewicz <markiewicz@stanford.edu>
44+
Christopher J. Markiewicz <effigies@gmail.com> Chris Markiewicz <markiewicz@stanford.edu>
4345
Cindee Madison <cindee@berkeley.edu> cindeem
4446
Cindee Madison <cindee@berkeley.edu> cindeem <>
4547
Colin Buchanan <colinrbuchanan@gmail.com> Colin Buchanan <cbuchanan@cray4.(none)>
@@ -62,6 +64,7 @@ Erik Ziegler <erik.sweed@gmail.com> Erik Ziegler <erik.ziegler@ulg.ac.be>
6264
Erik Ziegler <erik.sweed@gmail.com> erik <erik@erik-ubuntu.(none)>
6365
Erik Ziegler <erik.sweed@gmail.com> erikz <erik.ziegler@ulg.ac.be>
6466
Erik Ziegler <erik.sweed@gmail.com> swederik <erik.sweed@gmail.com>
67+
Feilong Ma <mafeilong@gmail.com> Ma Feilong <mafeilong@gmail.com>
6568
Fernando Pérez-García <fepegar@gmail.com> Fernando <fepegar@gmail.com>
6669
Franz Liem <franz.liem@gmail.com> fliem <franz.liem>
6770
Franz Liem <franz.liem@gmail.com> fliem <franz.liem@gmail.com>
@@ -93,7 +96,7 @@ Josh Warner <silvertrumpet999+github@gmail.com> JDWarner <warner.joshua@mayo.edu
9396
Josh Warner <silvertrumpet999+github@gmail.com> Josh Warner (Mac) <warner.joshua@mayo.edu>
9497
Kai Schlamp <schlamp@gmx.de> medihack <schlamp@gmx.de>Jessica Forbes <jessica-forbes@uiowa.edu> jessicaforbes <jessica-forbes@uiowa.edu>
9598
Katie Bottenhorn <kbott006@fiu.edu> 62442katieb <kbott006@fiu.edu>
96-
Kesshi Jordan <Kesshi.Jordan@ucsf.edu> Kesshi Jordan <Kesshi.Jordan@ucsf.edu>
99+
Kesshi Jordan <Kesshi.Jordan@ucsf.edu> Kesshi Jordan <Kesshi.Jordan@ucsf.edu>
97100
Kesshi Jordan <Kesshi.Jordan@ucsf.edu> Kesshi Jordan <kesshi.jordan@gmail.com>
98101
Kesshi Jordan <Kesshi.Jordan@ucsf.edu> Kesshi Jordan <kesshijordan@D-108-179-130-38.dhcp4.washington.edu>
99102
Kesshi Jordan <Kesshi.Jordan@ucsf.edu> Kesshi Jordan <kesshijordan@D-69-91-152-99.dhcp4.washington.edu>

.travis.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ matrix:
6060
NIPYPE_EXTRAS="doc,tests,nipy,profiler"
6161
EXTRA_PIP_FLAGS="--pre $EXTRA_PIP_FLAGS --find-links $PRE_WHEELS"
6262
CI_SKIP_TEST=1
63+
allow_failures:
64+
- python: 2.7
65+
env: INSTALL_DEB_DEPENDECIES=true NIPYPE_EXTRAS="doc,tests,nipy,profiler" EXTRA_PIP_FLAGS="--pre $EXTRA_PIP_FLAGS --find-links $PRE_WHEELS" CI_SKIP_TEST=1
6366

6467
addons:
6568
apt:
@@ -86,14 +89,15 @@ before_install:
8689
fi;
8790

8891
- travis_retry pip install -r requirements.txt
89-
- travis_retry pip install grabbit==0.1.2
90-
- travis_retry git clone -b 0.6.5 https://github.com/INCF/pybids.git ${HOME}/pybids && pip install -e ${HOME}/pybids
92+
- travis_retry pip install grabbit==0.2.6
93+
- travis_retry pip install -e git+https://github.com/bids-standard/pybids.git@0.7.0#egg=pybids
9194

9295
install:
9396
- travis_retry pip install $EXTRA_PIP_FLAGS -e .[$NIPYPE_EXTRAS]
97+
- travis_retry pip install pytest-xdist
9498

9599
script:
96-
- py.test -v --cov nipype --cov-config .coveragerc --cov-report xml:cov.xml -c nipype/pytest.ini --doctest-modules nipype
100+
- py.test -v --cov nipype --cov-config .coveragerc --cov-report xml:cov.xml -c nipype/pytest.ini --doctest-modules nipype -n auto
97101

98102
after_script:
99103
- codecov --file cov.xml --flags unittests -e TRAVIS_JOB_NUMBER

.zenodo.json

Lines changed: 33 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -110,16 +110,16 @@
110110
"affiliation": "National Institutes of Health",
111111
"name": "Clark, Michael G. "
112112
},
113-
{
114-
"affiliation": "Dartmouth College",
115-
"name": "Visconti di Oleggio Castello, Matteo",
116-
"orcid": "0000-0001-7931-5272"
117-
},
118113
{
119114
"affiliation": "Mayo Clinic, Neurology, Rochester, MN, USA",
120115
"name": "Dayan, Michael",
121116
"orcid": "0000-0002-2666-0969"
122117
},
118+
{
119+
"affiliation": "Dartmouth College",
120+
"name": "Visconti di Oleggio Castello, Matteo",
121+
"orcid": "0000-0001-7931-5272"
122+
},
123123
{
124124
"affiliation": "UC Berkeley",
125125
"name": "Clark, Dav",
@@ -142,15 +142,20 @@
142142
"name": "Berleant, Shoshana"
143143
},
144144
{
145-
"affiliation": "UC San Diego",
146-
"name": "Cipollini, Ben",
147-
"orcid": "0000-0002-7782-0790"
145+
"affiliation": "Institute for Biomedical Engineering, ETH and University of Zurich",
146+
"name": "Horea, Christian",
147+
"orcid": "0000-0001-7037-2449"
148148
},
149149
{
150150
"affiliation": "Dartmouth College: Hanover, NH, United States",
151151
"name": "Halchenko, Yaroslav O.",
152152
"orcid": "0000-0003-3456-2493"
153153
},
154+
{
155+
"affiliation": "UC San Diego",
156+
"name": "Cipollini, Ben",
157+
"orcid": "0000-0002-7782-0790"
158+
},
154159
{
155160
"affiliation": "Montreal Neurological Institute and Hospital",
156161
"name": "Markello, Ross",
@@ -179,11 +184,6 @@
179184
"name": "Varoquaux, Gael",
180185
"orcid": "0000-0003-1076-5122"
181186
},
182-
{
183-
"affiliation": "Institute for Biomedical Engineering, ETH and University of Zurich",
184-
"name": "Horea, Christian",
185-
"orcid": "0000-0001-7037-2449"
186-
},
187187
{
188188
"affiliation": "Athena EPI, Inria Sophia-Antipolis",
189189
"name": "Wassermann , Demian",
@@ -235,6 +235,11 @@
235235
"name": "Iqbal, Shariq",
236236
"orcid": "0000-0003-2766-8425"
237237
},
238+
{
239+
"affiliation": "University of Washington",
240+
"name": "Richie-Halford, Adam",
241+
"orcid": "0000-0001-9276-9084"
242+
},
238243
{
239244
"name": "Schwartz, Yannick"
240245
},
@@ -257,6 +262,11 @@
257262
{
258263
"name": "Kent, James"
259264
},
265+
{
266+
"affiliation": "University of Texas at Austin",
267+
"name": "De La Vega, Alejandro",
268+
"orcid": "0000-0001-9062-3778"
269+
},
260270
{
261271
"name": "Watanabe, Aimi"
262272
},
@@ -380,6 +390,16 @@
380390
{
381391
"name": "Hallquist, Michael"
382392
},
393+
{
394+
"affiliation": "Dartmouth College",
395+
"name": "Ma, Feilong",
396+
"orcid": "0000-0002-6838-3971"
397+
},
398+
{
399+
"affiliation": "TIB \u2013 Leibniz Information Centre for Science and Technology and University Library, Hannover, Germany",
400+
"name": "Leinweber, Katrin",
401+
"orcid": "0000-0001-5135-5758"
402+
},
383403
{
384404
"affiliation": "Donders Institute for Brain, Cognition and Behavior, Center for Cognitive Neuroimaging",
385405
"name": "Chetverikov, Andrey",
@@ -461,11 +481,6 @@
461481
"name": "Geisler, Daniel",
462482
"orcid": "0000-0003-2076-5329"
463483
},
464-
{
465-
"affiliation": "University of Texas at Austin",
466-
"name": "De La Vega, Alejandro",
467-
"orcid": "0000-0001-9062-3778"
468-
},
469484
{
470485
"affiliation": "University of illinois urbana champaign",
471486
"name": "Sharp, Paul"

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ To participate in the Nipype development related discussions please use the foll
9191

9292
Please add *[nipype]* to the subject line when posting on the mailing list.
9393

94-
You can even hangout with the Nipype developers in their
94+
You can even hangout with the Nipype developers in their
9595
`Gitter <https://gitter.im/nipy/nipype>`_ channel or in the BrainHack `Slack <https://brainhack.slack.com/messages/C1FR76RAL>`_ channel. (Click `here <https://brainhack-slack-invite.herokuapp.com>`_ to join the Slack workspace.)
9696

9797

doc/about.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ this way you can use the initial paper published in 2011 (see below).
215215
month = "08",
216216
doi = "10.3389/fninf.2011.00013",
217217
pubmed = "21897815",
218-
url = "http://dx.doi.org/10.3389/fninf.2011.00013",
218+
url = "https://doi.org/10.3389/fninf.2011.00013",
219219
issn = "1662-5196"}
220220

221221

doc/changelog/1.X.X-changelog

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,30 @@
1+
1.1.8 (January 28, 2019)
2+
========================
3+
4+
##### [Full changelog](https://github.com/nipy/nipype/milestone/29?closed=1)
5+
6+
* FIX: ANTS LaplacianThickness cmdline opts fixed up (https://github.com/nipy/nipype/pull/2846)
7+
* FIX: Resolve LinAlgError during SVD (https://github.com/nipy/nipype/pull/2838)
8+
* ENH: Add interfaces wrapping DIPY worflows (https://github.com/nipy/nipype/pull/2830)
9+
* ENH: Update BIDSDataGrabber for pybids 0.7 (https://github.com/nipy/nipype/pull/2737)
10+
* ENH: Add FSL `eddy_quad` interface (https://github.com/nipy/nipype/pull/2825)
11+
* ENH: Support tckgen -select in MRtrix3 v3+ (https://github.com/nipy/nipype/pull/2823)
12+
* ENH: Support for BIDS event files (https://github.com/nipy/nipype/pull/2845)
13+
* ENH: CompositeTransformUtil, new ANTs interface (https://github.com/nipy/nipype/pull/2785)
14+
* RF: Move pytest and pytest-xdist from general requirement into tests_required (https://github.com/nipy/nipype/pull/2850)
15+
* DOC: Add S3DataGrabber example (https://github.com/nipy/nipype/pull/2849)
16+
* DOC: Skip conftest module in API generation (https://github.com/nipy/nipype/pull/2852)
17+
* DOC: Hyperlink DOIs to preferred resolver (https://github.com/nipy/nipype/pull/2833)
18+
* MAINT: Install numpy!=1.16.0 from conda in Docker (https://github.com/nipy/nipype/pull/2862)
19+
* MAINT: Drop pytest-xdist requirement, minimum pytest version (https://github.com/nipy/nipype/pull/2856)
20+
* MAINT: Disable numpy 1.16.0 for Py2.7 (https://github.com/nipy/nipype/pull/2855)
21+
22+
123
1.1.7 (December 17, 2018)
224
=========================
325

26+
##### [Full changelog](https://github.com/nipy/nipype/milestone/28?closed=1)
27+
428
* FIX: Copy node list before generating a flat graph (https://github.com/nipy/nipype/pull/2828)
529
* FIX: Update pytest req'd version to 3.6 (https://github.com/nipy/nipype/pull/2827)
630
* FIX: Set ResourceMonitor.fname to an absolute path (https://github.com/nipy/nipype/pull/2824)

doc/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373

7474
# General information about the project.
7575
project = u'nipype'
76-
copyright = u'2009-18, Neuroimaging in Python team'
76+
copyright = u'2009-19, Neuroimaging in Python team'
7777

7878
# The version info for the project you're documenting, acts as replacement for
7979
# |version| and |release|, also used in various other places throughout the
@@ -82,7 +82,7 @@
8282
# The short X.Y version.
8383
version = nipype.__version__
8484
# The full version, including alpha/beta/rc tags.
85-
release = "1.1.7"
85+
release = "1.1.8"
8686

8787
# The language for content autogenerated by Sphinx. Refer to documentation
8888
# for a list of supported languages.

doc/devel/interface_specs.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ In case of trouble, we encourage you to post on `NeuroStars <https://neurostars.
1212
NeuroStars.org is a platform similar to StackOverflow but dedicated to neuroinformatics.
1313
You can also post on the nipype developers mailing list: http://mail.python.org/mailman/listinfo/neuroimaging.
1414
As we are sharing a mailing list with the nipy community, please add ``[nipype]`` to the message title.
15-
Alternatively, you're welcome to chat with us in the Nipype
16-
`Gitter <https://gitter.im/nipy/nipype>`_ channel or in the
15+
Alternatively, you're welcome to chat with us in the Nipype
16+
`Gitter <https://gitter.im/nipy/nipype>`_ channel or in the
1717
BrainHack `Slack <https://brainhack.slack.com/messages/C1FR76RAL>`_ channel.
1818
(Click `here <https://brainhack-slack-invite.herokuapp.com>`_ to join the Slack workspace.)
1919

doc/documentation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Documentation
99
:Release: |version|
1010
:Date: |today|
1111

12-
Previous versions: `1.1.6 <http://nipype.readthedocs.io/en/1.1.6/>`_ `1.1.5 <http://nipype.readthedocs.io/en/1.1.5/>`_
12+
Previous versions: `1.1.7 <http://nipype.readthedocs.io/en/1.1.7/>`_ `1.1.6 <http://nipype.readthedocs.io/en/1.1.6/>`_
1313

1414

1515
.. container:: doc2

doc/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
these packages within a single workflow. Nipype provides an environment
1717
that encourages interactive exploration of algorithms from different
1818
packages (e.g., ANTS_, SPM_, FSL_, FreeSurfer_, Camino_, MRtrix_, MNE_, AFNI_,
19-
Slicer_), eases the design of workflows within and between packages, and
19+
Slicer_, DIPY_), eases the design of workflows within and between packages, and
2020
reduces the learning curve necessary to use different packages. Nipype is
2121
creating a collaborative platform for neuroimaging software development
2222
in a high-level language and addressing limitations of existing pipeline

doc/links_names.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@
9797
.. _MRtrix3: http://www.mrtrix.org/
9898
.. _MNE: https://martinos.org/mne/index.html
9999
.. _ANTS: http://stnava.github.io/ANTs/
100+
.. _DIPY: http://dipy.org
100101

101102
.. General software
102103
.. _gcc: http://gcc.gnu.org

docker/files/run_pytests.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ export COVERAGE_FILE=${WORKDIR}/tests/.coverage.py${PYTHON_VERSION}
2929
py.test -v --junitxml=${WORKDIR}/tests/pytests_py${PYTHON_VERSION}.xml \
3030
--cov nipype --cov-config /src/nipype/.coveragerc \
3131
--cov-report xml:${WORKDIR}/tests/coverage_py${PYTHON_VERSION}.xml \
32+
-n auto \
3233
-c ${TESTPATH}/pytest.ini ${TESTPATH}
3334
exit_code=$?
3435

docker/generate_dockerfiles.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,9 @@ function generate_main_dockerfile() {
9090
--user neuro \
9191
--miniconda create_env=neuro \
9292
conda_install='python=${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}
93-
icu=58.1 libxml2 libxslt matplotlib mkl numpy paramiko
93+
icu=58.1 libxml2 libxslt matplotlib mkl "numpy!=1.16.0" paramiko
9494
pandas psutil scikit-learn scipy traits=4.6.0' \
95-
pip_install="grabbit==0.1.2 https://github.com/INCF/pybids/tarball/0.6.5" \
95+
pip_install="pytest-xdist" \
9696
activate=true \
9797
--copy docker/files/run_builddocs.sh docker/files/run_examples.sh \
9898
docker/files/run_pytests.sh nipype/external/fsl_imglob.py /usr/bin/ \
@@ -107,7 +107,7 @@ function generate_main_dockerfile() {
107107
--user neuro \
108108
--miniconda use_env=neuro \
109109
pip_opts="-e" \
110-
pip_install="/src/nipype[all]" \
110+
pip_install="/src/nipype[all] https://github.com/bids-standard/pybids/tarball/0.7.0" \
111111
--workdir /work \
112112
--label org.label-schema.build-date='$BUILD_DATE' \
113113
org.label-schema.name="NIPYPE" \

nipype/__init__.py

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,22 @@
2525

2626

2727
class NipypeTester(object):
28-
def __call__(self, doctests=True, parallel=True):
28+
def __call__(self, doctests=True, parallel=False):
2929
try:
3030
import pytest
31-
except:
31+
except ImportError:
3232
raise RuntimeError(
3333
'py.test not installed, run: pip install pytest')
3434
args = []
3535
if not doctests:
3636
args.extend(['-p', 'no:doctest'])
37-
if not parallel:
38-
args.append('-n0')
37+
if parallel:
38+
try:
39+
import xdist
40+
except ImportError:
41+
raise RuntimeError(
42+
"pytest-xdist required for parallel run")
43+
args.append('-n auto')
3944
args.append(os.path.dirname(__file__))
4045
pytest.main(args=args)
4146

nipype/algorithms/confounds.py

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,16 @@
2626
IFLOGGER = logging.getLogger('nipype.interface')
2727

2828

29+
def fallback_svd(a, full_matrices=True, compute_uv=True):
30+
try:
31+
return np.linalg.svd(a, full_matrices=full_matrices, compute_uv=compute_uv)
32+
except np.linalg.LinAlgError:
33+
pass
34+
35+
from scipy.linalg import svd
36+
return svd(a, full_matrices=full_matrices, compute_uv=compute_uv, lapack_driver='gesvd')
37+
38+
2939
class ComputeDVARSInputSpec(BaseInterfaceInputSpec):
3040
in_file = File(
3141
exists=True, mandatory=True, desc='functional data, after HMC')
@@ -271,7 +281,7 @@ class FramewiseDisplacement(BaseInterface):
271281
.. [Power2012] Power et al., Spurious but systematic correlations in functional
272282
connectivity MRI networks arise from subject motion, NeuroImage 59(3),
273283
2012. doi:`10.1016/j.neuroimage.2011.10.018
274-
<http://dx.doi.org/10.1016/j.neuroimage.2011.10.018>`_.
284+
<https://doi.org/10.1016/j.neuroimage.2011.10.018>`_.
275285
276286
277287
"""
@@ -1191,7 +1201,7 @@ def compute_noise_components(imgseries, mask_images, num_components,
11911201
# "The covariance matrix C = MMT was constructed and decomposed into its
11921202
# principal components using a singular value decomposition."
11931203
try:
1194-
u, _, _ = np.linalg.svd(M, full_matrices=False)
1204+
u, _, _ = fallback_svd(M, full_matrices=False)
11951205
except np.linalg.LinAlgError:
11961206
if self.inputs.failure_mode == 'error':
11971207
raise
@@ -1273,7 +1283,7 @@ def _full_rank(X, cmax=1e15):
12731283
X: array of shape(nrows, ncols) after regularization
12741284
cmax=1.e-15, float tolerance for condition number
12751285
"""
1276-
U, s, V = np.linalg.svd(X, 0)
1286+
U, s, V = fallback_svd(X, full_matrices=False)
12771287
smax, smin = s.max(), s.min()
12781288
c = smax / smin
12791289
if c < cmax:

0 commit comments

Comments
 (0)