gstlal_inspiral_compress_ranking_stat: fix compress logic

- wasn't doing what was intended.
14 jobs for gstlal-inspiral-1.6-branch in 24 minutes and 7 seconds (queued for 4 seconds)
Status Job ID Name Coverage
  Level0
passed #354681
level0:gstlal

00:01:00

failed #354680
allowed to fail
level0:rpm:gstlal

00:00:49

 
  Level1
passed #354683
level1:gstlal-ugly

00:01:16

failed #354682
allowed to fail
level1:rpm:gstlal-ugly

00:00:25

 
  Level2
passed #354689
level2:gstlal-burst

00:00:49

passed #354687
level2:gstlal-calibration

00:01:19

passed #354688
level2:gstlal-inspiral

00:01:32

failed #354686
allowed to fail
level2:rpm:gstlal-burst

00:00:35

failed #354685
allowed to fail
level2:rpm:gstlal-calibration

00:00:36

failed #354684
allowed to fail
level2:rpm:gstlal-inspiral

00:00:34

 
  Test Gstlal
passed #354690
test:gstlal

00:00:28

 
  Test Inspiral
failed #354691
allowed to fail
test:gstlal-inspiral

00:00:35

 
  Test Burst
passed #354692
test:gstlal-burst

00:00:22

 
  Test Offline
failed #354693
allowed to fail
test:offline

00:18:48

 
Name Stage Failure
failed
test:offline Test Offline
user 0.16
sys 0.04
make: *** [H1L1-ALL_LLOID-1000000000-2048.sqlite] Error 1
Daemon already running on PID 7
Uploading artifacts...
gstlal-inspiral/tests: found 56 matching files
public: found 1 matching files

Uploading artifacts to coordinator... ok
id=354693 responseStatus=201 Created token=t8VvR9L4
ERROR: Job failed: exit code 1
failed
test:gstlal-inspiral Test Inspiral
    +		100 102
+ 120 110
+ </Stream>
</Array>

/builds/lscsoft/gstlal/gstlal-inspiral/python/stats/horizonhistory.py:114: DocTestFailure
===================== 3 failed, 13 passed in 13.83 seconds =====================
Daemon already running on PID 7
ERROR: Job failed: exit code 1
failed
level2:rpm:gstlal-calibration Level2

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables GSTLAL_CFLAGS
and GSTLAL_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
Daemon already running on PID 7
ERROR: Job failed: exit code 1
failed
level2:rpm:gstlal-burst Level2

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables GSTLAL_CFLAGS
and GSTLAL_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
Daemon already running on PID 7
ERROR: Job failed: exit code 1
failed
level2:rpm:gstlal-inspiral Level2

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables GSTLAL_CFLAGS
and GSTLAL_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
Daemon already running on PID 7
ERROR: Job failed: exit code 1
failed
level1:rpm:gstlal-ugly Level1

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables GSTLAL_CFLAGS
and GSTLAL_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
Daemon already running on PID 7
ERROR: Job failed: exit code 1
failed
level0:rpm:gstlal Level0
collect2: error: ld returned 1 exit status
2019-06-04 15:13:26,598:scangobj.py:execute_command:1196:WARNING:Linking scanner failed: 1, command: /bin/sh ../../libtool --tag=CC --mode=link gcc -std=gnu99 -lgobject-2.0 -lglib-2.0 -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -O3 -fPIC -DMKL_ILP64 -m64 -I/opt/intel/compilers_and_libraries_2018.3.222/linux/mkl/include -I/builds/lscsoft/gstlal/opt/gstlal/include -no-undefined -l:libfftw3.so -l:libfftw3f.so -l:libfftw3_threads.so -l:libfftw3f_threads.so -L/builds/lscsoft/gstlal/opt/gstlal/lib -L/opt/intel/compilers_and_libraries_2018.3.222/linux/mkl/lib/intel64 -Wl,--no-as-needed -lmkl_intel_ilp64 -lmkl_sequential -lmkl_core -lpthread -lm -ldl gstlal-scan.lo -no-undefined -static ../../lib/gstlal/libgstlal.la ../../lib/gstlal/libgstlaltags.la ../../lib/gstlal/libgstlaltypes.la ../../gst/lal/libgstgstlal.la ../../gst/gst/libgstlal_adder.la -lgsl -lgslcblas -lm -lfftw3 -lfftw3f -llal -llalmetaio -llalsupport -llalsimulation -llalburst -llalinspiral -lgstallocators-1.0 -lgstbase-1.0 -lgstcontroller-1.0 -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0 -l:libfftw3.so -l:libfftw3f.so -l:libfftw3_threads.so -l:libfftw3f_threads.so -L/builds/lscsoft/gstlal/opt/gstlal/lib -L/opt/intel/compilers_and_libraries_2018.3.222/linux/mkl/lib/intel64 -Wl,--no-as-needed -lmkl_intel_ilp64 -lmkl_sequential -lmkl_core -lpthread -lm -ldl -o gstlal-scan
make[2]: *** [scan-build.stamp] Error 1
make[2]: Leaving directory `/builds/lscsoft/gstlal/gstlal/doc/gobject'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/builds/lscsoft/gstlal/gstlal/doc'
make: *** [all-recursive] Error 1
Daemon already running on PID 7
ERROR: Job failed: exit code 1