• Tanner Prestegard's avatar
    Fix cases where arguments are checked for truthiness · e14a424e
    Tanner Prestegard authored
    Fix several cases where we check 'if arg'; instead should be
    'if arg is not None' since the original can fail when arg is
    numeric and zero-valued. Specific case we are fixing is for
    ProbHasNS and ProbHasRemnant in createVOEvent, but we fix
    a few others, too.
    e14a424e
Name
Last commit
Last update
debian Loading commit data...
doc Loading commit data...
etc Loading commit data...
ligo Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
COPYING Loading commit data...
MANIFEST.in Loading commit data...
README.md Loading commit data...
ligo-gracedb.spec Loading commit data...
setup.cfg Loading commit data...
setup.py Loading commit data...