Created
September 11, 2019 14:17
-
-
Save brianv0/5cdb0a3dddf2a3868957f89528b31252 to your computer and use it in GitHub Desktop.
ip_diffim failed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
============================= test session starts ============================== | |
platform linux -- Python 3.7.3, pytest-5.0.1, py-1.8.0, pluggy-0.12.0 | |
rootdir: /scratch/bvan/lsst/distrib/ip_diffim, inifile: setup.cfg | |
plugins: doctestplus-0.3.0, flake8-1.0.4, xdist-1.29.0, remotedata-0.3.1, forked-1.0.2, openfiles-0.4.0, session2file-0.1.9, arraydiff-0.3, cov-2.7.1 | |
gw0 I / gw1 I / gw2 I / gw3 I | |
gw0 [248] / gw1 [248] / gw2 [248] / gw3 [248] | |
........................................................................ [ 29%] | |
.............FFFF.........................................F............. [ 58%] | |
...........................s............................................ [ 87%] | |
................................ [100%] | |
=================================== FAILURES =================================== | |
_________________________ DipoleFitTest.testDipoleTask _________________________ | |
[gw2] linux -- Python 3.7.3 /scratch/bvan/conda/envs/default/bin/python3.7 | |
self = <test_dipoleFitter.DipoleFitTest testMethod=testDipoleTask> | |
def testDipoleTask(self): | |
"""!Test the dipole fitting singleFramePlugin. | |
Test that the resulting fluxes/centroids are entered into the | |
correct slots of the catalog, and have values that are very | |
close to the input values for both dipoles in the image. | |
Also test that the resulting fluxes are close to those | |
generated by the existing ip_diffim_DipoleMeasurement task | |
(PsfDipoleFit). | |
""" | |
params = DipoleTestImage() | |
sources = self._runDetection(params) | |
> self._checkTaskOutput(params, sources) | |
tests/test_dipoleFitter.py:237: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
tests/test_dipoleFitter.py:189: in _checkTaskOutput | |
params.flux[i], rtol=rtol) | |
../../../conda/envs/default/share/eups/Linux64/utils/tickets.DM-20864-g2207ba3768+48c6bae73b/python/lsst/utils/tests.py:588: in assertFloatsAlmostEqual | |
testCase.fail("Non-finite values in lhs") | |
E AssertionError: Non-finite values in lhs | |
----------------------------- Captured stdout call ----------------------------- | |
sourceDetection INFO: Detected 2 positive peaks in 2 footprints and 2 negative peaks in 2 footprints to 5.5 sigma | |
sourceDetection.background WARN: Too few points in grid to constrain fit: min(nx, ny) < approxOrder) [min(4, 4) < 6] | |
sourceDetection.background WARN: Reducing approxOrder to 3 | |
sourceDetection INFO: Resubtracting the background after object detection | |
sourceDetection INFO: Detected 2 positive peaks in 2 footprints and 2 negative peaks in 2 footprints to 5.5 sigma | |
sourceDetection.background WARN: Too few points in grid to constrain fit: min(nx, ny) < approxOrder) [min(4, 4) < 6] | |
sourceDetection.background WARN: Reducing approxOrder to 3 | |
sourceDetection INFO: Resubtracting the background after object detection | |
ip_diffim_DipoleFit INFO: Measuring 2 sources (2 parents, 0 children) | |
ip_diffim_DipoleFit WARN: DipoleFitPlugin failed on record 5: dipole fit failure | |
ip_diffim_DipoleFit WARN: DipoleFitPlugin failed on record 6: dipole fit failure | |
____________________ DipoleFitTest.testDipoleTaskNoNegImage ____________________ | |
[gw2] linux -- Python 3.7.3 /scratch/bvan/conda/envs/default/bin/python3.7 | |
self = <test_dipoleFitter.DipoleFitTest testMethod=testDipoleTaskNoNegImage> | |
def testDipoleTaskNoNegImage(self): | |
"""!Test the dipole fitting singleFramePlugin in the case where no | |
`negImage` is provided. It should be the same as above because | |
`negImage` can be constructed from `posImage-diffim`. | |
Test that the resulting fluxes/centroids are entered into the | |
correct slots of the catalog, and have values that are very | |
close to the input values for both dipoles in the image. | |
Also test that the resulting fluxes are close to those | |
generated by the existing ip_diffim_DipoleMeasurement task | |
(PsfDipoleFit). | |
""" | |
params = DipoleTestImage() | |
params.testImage.negImage = None | |
sources = self._runDetection(params) | |
> self._checkTaskOutput(params, sources) | |
tests/test_dipoleFitter.py:273: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
tests/test_dipoleFitter.py:189: in _checkTaskOutput | |
params.flux[i], rtol=rtol) | |
../../../conda/envs/default/share/eups/Linux64/utils/tickets.DM-20864-g2207ba3768+48c6bae73b/python/lsst/utils/tests.py:588: in assertFloatsAlmostEqual | |
testCase.fail("Non-finite values in lhs") | |
E AssertionError: Non-finite values in lhs | |
----------------------------- Captured stdout call ----------------------------- | |
sourceDetection INFO: Detected 2 positive peaks in 2 footprints and 2 negative peaks in 2 footprints to 5.5 sigma | |
sourceDetection.background WARN: Too few points in grid to constrain fit: min(nx, ny) < approxOrder) [min(4, 4) < 6] | |
sourceDetection.background WARN: Reducing approxOrder to 3 | |
sourceDetection INFO: Resubtracting the background after object detection | |
sourceDetection INFO: Detected 2 positive peaks in 2 footprints and 2 negative peaks in 2 footprints to 5.5 sigma | |
sourceDetection.background WARN: Too few points in grid to constrain fit: min(nx, ny) < approxOrder) [min(4, 4) < 6] | |
sourceDetection.background WARN: Reducing approxOrder to 3 | |
sourceDetection INFO: Resubtracting the background after object detection | |
ip_diffim_DipoleFit INFO: Measuring 2 sources (2 parents, 0 children) | |
ip_diffim_DipoleFit WARN: DipoleFitPlugin failed on record 5: dipole fit failure | |
ip_diffim_DipoleFit WARN: DipoleFitPlugin failed on record 6: dipole fit failure | |
____________________ DipoleFitTest.testDipoleTaskNoPosImage ____________________ | |
[gw2] linux -- Python 3.7.3 /scratch/bvan/conda/envs/default/bin/python3.7 | |
self = <test_dipoleFitter.DipoleFitTest testMethod=testDipoleTaskNoPosImage> | |
def testDipoleTaskNoPosImage(self): | |
"""!Test the dipole fitting singleFramePlugin in the case where no | |
`posImage` is provided. It should be the same as above because | |
`posImage` can be constructed from `diffim+negImage`. | |
Test that the resulting fluxes/centroids are entered into the | |
correct slots of the catalog, and have values that are very | |
close to the input values for both dipoles in the image. | |
Also test that the resulting fluxes are close to those | |
generated by the existing ip_diffim_DipoleMeasurement task | |
(PsfDipoleFit). | |
""" | |
params = DipoleTestImage() | |
params.testImage.posImage = None | |
sources = self._runDetection(params) | |
> self._checkTaskOutput(params, sources) | |
tests/test_dipoleFitter.py:255: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
tests/test_dipoleFitter.py:189: in _checkTaskOutput | |
params.flux[i], rtol=rtol) | |
../../../conda/envs/default/share/eups/Linux64/utils/tickets.DM-20864-g2207ba3768+48c6bae73b/python/lsst/utils/tests.py:588: in assertFloatsAlmostEqual | |
testCase.fail("Non-finite values in lhs") | |
E AssertionError: Non-finite values in lhs | |
----------------------------- Captured stdout call ----------------------------- | |
sourceDetection INFO: Detected 2 positive peaks in 2 footprints and 2 negative peaks in 2 footprints to 5.5 sigma | |
sourceDetection.background WARN: Too few points in grid to constrain fit: min(nx, ny) < approxOrder) [min(4, 4) < 6] | |
sourceDetection.background WARN: Reducing approxOrder to 3 | |
sourceDetection INFO: Resubtracting the background after object detection | |
sourceDetection INFO: Detected 2 positive peaks in 2 footprints and 2 negative peaks in 2 footprints to 5.5 sigma | |
sourceDetection.background WARN: Too few points in grid to constrain fit: min(nx, ny) < approxOrder) [min(4, 4) < 6] | |
sourceDetection.background WARN: Reducing approxOrder to 3 | |
sourceDetection INFO: Resubtracting the background after object detection | |
ip_diffim_DipoleFit INFO: Measuring 2 sources (2 parents, 0 children) | |
ip_diffim_DipoleFit WARN: DipoleFitPlugin failed on record 5: dipole fit failure | |
ip_diffim_DipoleFit WARN: DipoleFitPlugin failed on record 6: dipole fit failure | |
__________________ DipoleFitTest.testDipoleTaskNoPreSubImages __________________ | |
[gw2] linux -- Python 3.7.3 /scratch/bvan/conda/envs/default/bin/python3.7 | |
self = <test_dipoleFitter.DipoleFitTest testMethod=testDipoleTaskNoPreSubImages> | |
def testDipoleTaskNoPreSubImages(self): | |
"""!Test the dipole fitting singleFramePlugin in the case where no | |
pre-subtraction data (`posImage` or `negImage`) are provided. | |
In this case it just fits a dipole model to the diffim | |
(dipole) image alone. Note that this test will only pass for | |
widely-separated dipoles. | |
Test that the resulting fluxes/centroids are entered into the | |
correct slots of the catalog, and have values that are very | |
close to the input values for both dipoles in the image. | |
Also test that the resulting fluxes are close to those | |
generated by the existing ip_diffim_DipoleMeasurement task | |
(PsfDipoleFit). | |
""" | |
params = DipoleTestImage() | |
params.testImage.posImage = params.testImage.negImage = None | |
sources = self._runDetection(params) | |
> self._checkTaskOutput(params, sources) | |
tests/test_dipoleFitter.py:293: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
tests/test_dipoleFitter.py:189: in _checkTaskOutput | |
params.flux[i], rtol=rtol) | |
../../../conda/envs/default/share/eups/Linux64/utils/tickets.DM-20864-g2207ba3768+48c6bae73b/python/lsst/utils/tests.py:588: in assertFloatsAlmostEqual | |
testCase.fail("Non-finite values in lhs") | |
E AssertionError: Non-finite values in lhs | |
----------------------------- Captured stdout call ----------------------------- | |
sourceDetection INFO: Detected 2 positive peaks in 2 footprints and 2 negative peaks in 2 footprints to 5.5 sigma | |
sourceDetection.background WARN: Too few points in grid to constrain fit: min(nx, ny) < approxOrder) [min(4, 4) < 6] | |
sourceDetection.background WARN: Reducing approxOrder to 3 | |
sourceDetection INFO: Resubtracting the background after object detection | |
sourceDetection INFO: Detected 2 positive peaks in 2 footprints and 2 negative peaks in 2 footprints to 5.5 sigma | |
sourceDetection.background WARN: Too few points in grid to constrain fit: min(nx, ny) < approxOrder) [min(4, 4) < 6] | |
sourceDetection.background WARN: Reducing approxOrder to 3 | |
sourceDetection INFO: Resubtracting the background after object detection | |
ip_diffim_DipoleFit INFO: Measuring 2 sources (2 parents, 0 children) | |
ip_diffim_DipoleFit WARN: DipoleFitPlugin failed on record 5: dipole fit failure | |
ip_diffim_DipoleFit WARN: DipoleFitPlugin failed on record 6: dipole fit failure | |
______________________ DipoleFitTest.testDipoleAlgorithm _______________________ | |
[gw3] linux -- Python 3.7.3 /scratch/bvan/conda/envs/default/bin/python3.7 | |
self = <test_dipoleFitter.DipoleFitTest testMethod=testDipoleAlgorithm> | |
def testDipoleAlgorithm(self): | |
"""!Test the dipole fitting algorithm directly (fitDipole()). | |
Test that the resulting fluxes/centroids are very close to the | |
input values for both dipoles in the image. | |
""" | |
params = DipoleTestImage() | |
catalog = params.testImage.detectDipoleSources(minBinSize=32) | |
for s in catalog: | |
fp = s.getFootprint() | |
self.assertTrue(len(fp.getPeaks()) == 2) | |
rtol = params.rtol | |
offsets = params.offsets | |
testImage = params.testImage | |
for i, s in enumerate(catalog): | |
alg = DipoleFitAlgorithm(testImage.diffim, testImage.posImage, testImage.negImage) | |
result, _ = alg.fitDipole( | |
s, rel_weight=0.5, separateNegParams=False, | |
> verbose=params.verbose, display=params.display) | |
tests/test_dipoleFitter.py:117: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
python/lsst/ip/diffim/dipoleFitTask.py:829: in fitDipole | |
bgGradientOrder=bgGradientOrder, verbose=verbose) | |
python/lsst/ip/diffim/dipoleFitTask.py:759: in fitDipoleImpl | |
modelObj=dipoleModel) | |
../../../conda/envs/default/lib/python3.7/site-packages/lmfit/model.py:998: in fit | |
kwargs[var] = _align(kwargs[var], mask, data) | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
var = array([[[-16.5, -15.5, -14.5, ..., 14.5, 15.5, 16.5], | |
[-16.5, -15.5, -14.5, ..., 14.5, 15.5, 16.5], | |
...5], | |
[ 15.5, 15.5, 15.5, ..., 15.5, 15.5, 15.5], | |
[ 16.5, 16.5, 16.5, ..., 16.5, 16.5, 16.5]]]) | |
mask = array([[[ True, True, True, ..., True, True, True], | |
[ True, True, True, ..., True, True, True], | |
...e], | |
[ True, True, True, ..., True, True, True], | |
[ True, True, True, ..., True, True, True]]]) | |
data = array([ 0.42375344, -0.28085816, 0.48262876, ..., 1.304831 , | |
2.4711592 , 3.6819208 ], dtype=float32) | |
def _align(var, mask, data): | |
"""Align missing data, if pandas is available.""" | |
if isinstance(data, Series) and isinstance(var, Series): | |
return var.reindex_like(data).dropna() | |
elif mask is not None: | |
> return var[mask] | |
E IndexError: boolean index did not match indexed array along dimension 0; dimension is 2 but corresponding boolean dimension is 3 | |
../../../conda/envs/default/lib/python3.7/site-packages/lmfit/model.py:34: IndexError | |
----------------------------- Captured stdout call ----------------------------- | |
sourceDetection INFO: Detected 2 positive peaks in 2 footprints and 2 negative peaks in 2 footprints to 5.5 sigma | |
sourceDetection.background WARN: Too few points in grid to constrain fit: min(nx, ny) < approxOrder) [min(4, 4) < 6] | |
sourceDetection.background WARN: Reducing approxOrder to 3 | |
sourceDetection INFO: Resubtracting the background after object detection | |
=============================== warnings summary =============================== | |
/scratch/bvan/conda/envs/default/share/eups/Linux64/base/tickets.DM-20864-g6f30940fad+606ab73386/python/lsst/base/packages.py:31 | |
/scratch/bvan/conda/envs/default/share/eups/Linux64/base/tickets.DM-20864-g6f30940fad+606ab73386/python/lsst/base/packages.py:31 | |
/scratch/bvan/conda/envs/default/share/eups/Linux64/base/tickets.DM-20864-g6f30940fad+606ab73386/python/lsst/base/packages.py:31 | |
/scratch/bvan/conda/envs/default/share/eups/Linux64/base/tickets.DM-20864-g6f30940fad+606ab73386/python/lsst/base/packages.py:31 | |
/scratch/bvan/conda/envs/default/share/eups/Linux64/base/tickets.DM-20864-g6f30940fad+606ab73386/python/lsst/base/packages.py:31: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working | |
from collections import Mapping | |
/scratch/bvan/conda/envs/default/lib/python3.7/site-packages/past/types/oldstr.py:5 | |
/scratch/bvan/conda/envs/default/lib/python3.7/site-packages/past/types/oldstr.py:5 | |
/scratch/bvan/conda/envs/default/lib/python3.7/site-packages/past/types/oldstr.py:5 | |
/scratch/bvan/conda/envs/default/lib/python3.7/site-packages/past/types/oldstr.py:5 | |
/scratch/bvan/conda/envs/default/lib/python3.7/site-packages/past/types/oldstr.py:5: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working | |
from collections import Iterable | |
/scratch/bvan/conda/envs/default/lib/python3.7/importlib/_bootstrap.py:219 | |
/scratch/bvan/conda/envs/default/lib/python3.7/importlib/_bootstrap.py:219 | |
/scratch/bvan/conda/envs/default/lib/python3.7/importlib/_bootstrap.py:219 | |
/scratch/bvan/conda/envs/default/lib/python3.7/importlib/_bootstrap.py:219 | |
/scratch/bvan/conda/envs/default/lib/python3.7/importlib/_bootstrap.py:219 | |
/scratch/bvan/conda/envs/default/lib/python3.7/importlib/_bootstrap.py:219 | |
/scratch/bvan/conda/envs/default/lib/python3.7/importlib/_bootstrap.py:219 | |
/scratch/bvan/conda/envs/default/lib/python3.7/importlib/_bootstrap.py:219 | |
/scratch/bvan/conda/envs/default/lib/python3.7/importlib/_bootstrap.py:219 | |
/scratch/bvan/conda/envs/default/lib/python3.7/importlib/_bootstrap.py:219 | |
/scratch/bvan/conda/envs/default/lib/python3.7/importlib/_bootstrap.py:219 | |
/scratch/bvan/conda/envs/default/lib/python3.7/importlib/_bootstrap.py:219 | |
/scratch/bvan/conda/envs/default/lib/python3.7/importlib/_bootstrap.py:219 | |
/scratch/bvan/conda/envs/default/lib/python3.7/importlib/_bootstrap.py:219 | |
/scratch/bvan/conda/envs/default/lib/python3.7/importlib/_bootstrap.py:219 | |
/scratch/bvan/conda/envs/default/lib/python3.7/importlib/_bootstrap.py:219 | |
/scratch/bvan/conda/envs/default/lib/python3.7/importlib/_bootstrap.py:219 | |
/scratch/bvan/conda/envs/default/lib/python3.7/importlib/_bootstrap.py:219 | |
/scratch/bvan/conda/envs/default/lib/python3.7/importlib/_bootstrap.py:219 | |
/scratch/bvan/conda/envs/default/lib/python3.7/importlib/_bootstrap.py:219 | |
/scratch/bvan/conda/envs/default/lib/python3.7/importlib/_bootstrap.py:219 | |
/scratch/bvan/conda/envs/default/lib/python3.7/importlib/_bootstrap.py:219 | |
/scratch/bvan/conda/envs/default/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: numpy.ufunc size changed, may indicate binary incompatibility. Expected 192 from C header, got 216 from PyObject | |
return f(*args, **kwds) | |
/scratch/bvan/conda/envs/default/share/eups/Linux64/proxmin/tickets.DM-20864-gcf227cf51e+da39a3ee5e/lib/python/proxmin-0.5.5-py3.7.egg/proxmin/operators.py:121 | |
/scratch/bvan/conda/envs/default/share/eups/Linux64/proxmin/tickets.DM-20864-gcf227cf51e+da39a3ee5e/lib/python/proxmin-0.5.5-py3.7.egg/proxmin/operators.py:121 | |
/scratch/bvan/conda/envs/default/share/eups/Linux64/proxmin/tickets.DM-20864-gcf227cf51e+da39a3ee5e/lib/python/proxmin-0.5.5-py3.7.egg/proxmin/operators.py:121 | |
/scratch/bvan/conda/envs/default/share/eups/Linux64/proxmin/tickets.DM-20864-gcf227cf51e+da39a3ee5e/lib/python/proxmin-0.5.5-py3.7.egg/proxmin/operators.py:121 | |
/scratch/bvan/conda/envs/default/share/eups/Linux64/proxmin/tickets.DM-20864-gcf227cf51e+da39a3ee5e/lib/python/proxmin-0.5.5-py3.7.egg/proxmin/operators.py:121 | |
/scratch/bvan/conda/envs/default/share/eups/Linux64/proxmin/tickets.DM-20864-gcf227cf51e+da39a3ee5e/lib/python/proxmin-0.5.5-py3.7.egg/proxmin/operators.py:121 | |
/scratch/bvan/conda/envs/default/share/eups/Linux64/proxmin/tickets.DM-20864-gcf227cf51e+da39a3ee5e/lib/python/proxmin-0.5.5-py3.7.egg/proxmin/operators.py:121 | |
/scratch/bvan/conda/envs/default/share/eups/Linux64/proxmin/tickets.DM-20864-gcf227cf51e+da39a3ee5e/lib/python/proxmin-0.5.5-py3.7.egg/proxmin/operators.py:121 | |
/scratch/bvan/conda/envs/default/share/eups/Linux64/proxmin/tickets.DM-20864-gcf227cf51e+da39a3ee5e/lib/python/proxmin-0.5.5-py3.7.egg/proxmin/operators.py:121: DeprecationWarning: invalid escape sequence \s | |
/scratch/bvan/conda/envs/default/lib/python3.7/site-packages/lmfit/model.py:278 | |
/scratch/bvan/conda/envs/default/lib/python3.7/site-packages/lmfit/model.py:278 | |
/scratch/bvan/conda/envs/default/lib/python3.7/site-packages/lmfit/model.py:278 | |
/scratch/bvan/conda/envs/default/lib/python3.7/site-packages/lmfit/model.py:278 | |
/scratch/bvan/conda/envs/default/lib/python3.7/site-packages/lmfit/model.py:278 | |
/scratch/bvan/conda/envs/default/lib/python3.7/site-packages/lmfit/model.py:278 | |
/scratch/bvan/conda/envs/default/lib/python3.7/site-packages/lmfit/model.py:278 | |
/scratch/bvan/conda/envs/default/lib/python3.7/site-packages/lmfit/model.py:278 | |
/scratch/bvan/conda/envs/default/lib/python3.7/site-packages/lmfit/model.py:278 | |
/scratch/bvan/conda/envs/default/lib/python3.7/site-packages/lmfit/model.py:278: FutureWarning: The keyword 'missing' is deprecated as of lmfit 0.9.13 and will be removed in the next release. Use 'nan_policy' instead. | |
"Use 'nan_policy' instead.", FutureWarning) | |
/scratch/bvan/conda/envs/default/lib/python3.7/site-packages/lmfit/minimizer.py:2105 | |
/scratch/bvan/conda/envs/default/lib/python3.7/site-packages/lmfit/minimizer.py:2105 | |
/scratch/bvan/conda/envs/default/lib/python3.7/site-packages/lmfit/minimizer.py:2105 | |
/scratch/bvan/conda/envs/default/lib/python3.7/site-packages/lmfit/minimizer.py:2105 | |
/scratch/bvan/conda/envs/default/lib/python3.7/site-packages/lmfit/minimizer.py:2105 | |
/scratch/bvan/conda/envs/default/lib/python3.7/site-packages/lmfit/minimizer.py:2105 | |
/scratch/bvan/conda/envs/default/lib/python3.7/site-packages/lmfit/minimizer.py:2105 | |
/scratch/bvan/conda/envs/default/lib/python3.7/site-packages/lmfit/minimizer.py:2105 | |
/scratch/bvan/conda/envs/default/lib/python3.7/site-packages/lmfit/minimizer.py:2105 | |
/scratch/bvan/conda/envs/default/lib/python3.7/site-packages/lmfit/minimizer.py:2105: FutureWarning: The option 'drop' is deprecated as of lmfit 0.9.13 and will be removed in the next release. Use 'omit' instead. | |
"instead.", FutureWarning) | |
-- Docs: https://docs.pytest.org/en/latest/warnings.html | |
- generated xml file: /scratch/bvan/lsst/distrib/ip_diffim/tests/.tests/pytest-ip_diffim.xml - | |
----------- coverage: platform linux, python 3.7.3-final-0 ----------- | |
Name Stmts Miss Branch BrPart Cover | |
------------------------------------------------------------------------------------- | |
python/lsst/__init__.py 3 0 0 0 100% | |
python/lsst/gdb/__init__.py 3 0 0 0 100% | |
python/lsst/gdb/ip/__init__.py 3 0 0 0 100% | |
python/lsst/gdb/ip/diffim/__init__.py 0 0 0 0 100% | |
python/lsst/ip/__init__.py 3 0 0 0 100% | |
python/lsst/ip/diffim/__init__.py 23 0 0 0 100% | |
python/lsst/ip/diffim/dcrModel.py 222 90 84 10 52% | |
python/lsst/ip/diffim/deprecated.py 19 2 8 1 89% | |
python/lsst/ip/diffim/detail/__init__.py 1 0 0 0 100% | |
python/lsst/ip/diffim/detail/diffimDetailLib.py 11 0 0 0 100% | |
python/lsst/ip/diffim/diaCatalogSourceSelector.py 93 24 44 11 72% | |
python/lsst/ip/diffim/diaSourceAnalysis.py 75 56 14 0 21% | |
python/lsst/ip/diffim/diffimLib.py 15 0 0 0 100% | |
python/lsst/ip/diffim/diffimTools.py 261 95 72 8 59% | |
python/lsst/ip/diffim/dipoleFitTask.py 435 190 132 25 53% | |
python/lsst/ip/diffim/dipoleMeasurement.py 168 45 46 6 66% | |
python/lsst/ip/diffim/getTemplate.py 103 80 32 0 17% | |
python/lsst/ip/diffim/imageDecorrelation.py 223 37 52 18 75% | |
python/lsst/ip/diffim/imageMapReduce.py 262 28 98 8 88% | |
python/lsst/ip/diffim/imagePsfMatch.py 266 59 80 31 73% | |
python/lsst/ip/diffim/kernelCandidateQa.py 169 153 50 0 7% | |
python/lsst/ip/diffim/makeKernelBasisList.py 107 14 47 11 84% | |
python/lsst/ip/diffim/metrics.py 45 0 10 0 100% | |
python/lsst/ip/diffim/modelPsfMatch.py 149 8 36 7 92% | |
python/lsst/ip/diffim/psfMatch.py 294 51 130 11 82% | |
python/lsst/ip/diffim/snapPsfMatch.py 30 1 0 0 97% | |
python/lsst/ip/diffim/utils.py 685 582 202 5 python/lsst/ip/diffim/utils.py 685 582 202 5 13% | |
python/lsst/ip/diffim/version.py 5 0 0 0 100% | |
python/lsst/ip/diffim/zogy.py 469 62 94 22 84% | |
tests/test_assessSpatialKernelVisitor.py 94 2 5 1 97% | |
tests/test_basisLists.py 166 12 18 1 93% | |
tests/test_buildSingleKernelVisitor.py 194 8 14 1 96% | |
tests/test_buildSpatialKernelVisitor.py 111 3 22 1 97% | |
tests/test_compareToHotpants.py 302 2 84 1 99% | |
tests/test_dcrModel.py 318 3 66 2 99% | |
tests/test_diaCatalogSourceSelector.py 79 2 10 2 96% | |
tests/test_dipole.py 271 20 28 10 90% | |
tests/test_dipoleFitter.py 111 19 12 4 81% | |
tests/test_findSetBits.py 49 2 2 1 94% | |
tests/test_imageDecorrelation.py 224 10 22 8 93% | |
tests/test_imageMapReduce.py 283 6 56 5 97% | |
tests/test_imagePsfMatch.py 166 3 14 1 98% | |
tests/test_imageStatistics.py 125 2 38 3 97% | |
tests/test_imageSubtract.py 75 4 14 3 92% | |
tests/test_ipDiffimConfig.py 41 2 2 1 93% | |
tests/test_kernelCandidateAndSolution.py 318 35 54 3 90% | |
tests/test_kernelCandidateDetection.py 76 4 12 3 92% | |
tests/test_kernelPca.py 168 2 30 1 98% | |
tests/test_kernelSumVisitor.py 100 3 20 1 97% | |
tests/test_metrics.py 104 2 4 1 97% | |
tests/test_modelPsfMatch.py 91 3 10 1 96% | |
tests/test_snapPsfMatch.py 84 2 2 1 97% | |
tests/test_subtractExposures.py 170 7 40 5 94% | |
tests/test_zogy.py 164 2 10 1 98% | |
------------------------------------------------------------------------------------- | |
TOTAL 8026 1737 1820 236 75% | |
Coverage HTML written to dir tests/.tests/pytest-ip_diffim.xml-htmlcov | |
Coverage XML written to file tests/.tests/pytest-ip_diffim.xml-cov-ip_diffim.xml | |
======== 5 failed, 242 passed, 1 skipped, 56 warnings in 42.54 seconds ========= |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
One of the dipole fit errors: