Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: ip_isr
    • Labels:
    • Templates:
    • Team:
      External

      Description

      I went and merged DM-13260 before running Jenkins, and it turns out there's a test failure in ip_isr that I managed to miss.

      pprice@tiger-sumire:~/LSST/ip/isr (master %=) $ python tests/test_fringes.py 
      EmultiFringe INFO: Fringe solution: [ 0.33277599  0.33135754  0.32182657] RMS: 0.015374 Good: 4964/5000
      .fringe INFO: Removing fringe pedestal: 10000.005859
      fringe INFO: Fringe solution: [ 1.00009454] RMS: 0.000406 Good: 5000/5000
      multiFringe INFO: Removing fringe pedestal: 10000.025391
      multiFringe INFO: Removing fringe pedestal: 10000.020508
      multiFringe INFO: Removing fringe pedestal: 10000.021484
      multiFringe INFO: Fringe solution: [ 0.33280576  0.33137333  0.32179655] RMS: 0.015436 Good: 4965/5000
      .fringe INFO: Fringe solution: [ 1.] RMS: 0.000000 Good: 5000/5000
      .fringe INFO: Fringe solution: [ 1.] RMS: 0.000000 Good: 5000/5000
      ...
      ======================================================================
      ERROR: testBad (__main__.FringeTestCase)
      Test fringe subtraction with bad inputs
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "tests/test_fringes.py", line 176, in testBad
          task.run(exp, fringe)
        File "/tigress/HSC/LSST/stack3_tiger_20171219/stack/miniconda3-4.3.21-10a4fa6/Linux64/pipe_base/14.0-6-ge2c9487+28/python/lsst/pipe/base/timer.py", line 150, in wrapper
          res = func(self, *args, **keyArgs)
        File "/home/pprice/LSST/ip/isr/python/lsst/ip/isr/fringe.py", line 143, in run
          solution = self.solve(expFringes, fluxes)
        File "/tigress/HSC/LSST/stack3_tiger_20171219/stack/miniconda3-4.3.21-10a4fa6/Linux64/pipe_base/14.0-6-ge2c9487+28/python/lsst/pipe/base/timer.py", line 150, in wrapper
          res = func(self, *args, **keyArgs)
        File "/home/pprice/LSST/ip/isr/python/lsst/ip/isr/fringe.py", line 250, in solve
          good = select(science, self.config.clip)
        File "/home/pprice/LSST/ip/isr/python/lsst/ip/isr/fringe.py", line 386, in select
          q1, q2, q3 = numpy.percentile(vector, (25, 50, 75))
        File "/tigress/HSC/LSST/stack3_tiger_20171219/python/miniconda3-4.3.21/lib/python3.6/site-packages/numpy/lib/function_base.py", line 4269, in percentile
          interpolation=interpolation)
        File "/tigress/HSC/LSST/stack3_tiger_20171219/python/miniconda3-4.3.21/lib/python3.6/site-packages/numpy/lib/function_base.py", line 4011, in _ureduce
          r = func(a, **kwargs)
        File "/tigress/HSC/LSST/stack3_tiger_20171219/python/miniconda3-4.3.21/lib/python3.6/site-packages/numpy/lib/function_base.py", line 4386, in _percentile
          x1 = take(ap, indices_below, axis=axis) * weights_below
        File "/tigress/HSC/LSST/stack3_tiger_20171219/python/miniconda3-4.3.21/lib/python3.6/site-packages/numpy/core/fromnumeric.py", line 134, in take
          return _wrapfunc(a, 'take', indices, axis=axis, out=out, mode=mode)
        File "/tigress/HSC/LSST/stack3_tiger_20171219/python/miniconda3-4.3.21/lib/python3.6/site-packages/numpy/core/fromnumeric.py", line 57, in _wrapfunc
          return getattr(obj, method)(*args, **kwds)
      IndexError: cannot do a non-empty take from an empty axes.
       
      ----------------------------------------------------------------------
      Ran 7 tests in 85.206s
       
      FAILED (errors=1)
      

        Attachments

          Container Issues

            Issue Links

              Activity

                People

                • Assignee:
                  price Paul Price
                  Reporter:
                  price Paul Price
                  Watchers:
                  Paul Price
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Summary Panel