From a23b08f0f0417922b8fc2799c1084677065f0e2d Mon Sep 17 00:00:00 2001 From: William Graf <7930703+willgraf@users.noreply.github.com> Date: Tue, 21 Sep 2021 11:46:17 -0700 Subject: [PATCH] Fix bad warning message --- deepcell_tracking/utils.py | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deepcell_tracking/utils.py b/deepcell_tracking/utils.py index 86e6998..39fc9e5 100644 --- a/deepcell_tracking/utils.py +++ b/deepcell_tracking/utils.py @@ -553,7 +553,7 @@ def is_valid_lineage(y, lineage): # Check that daughter's start frame is one larger than parent end frame if first_daughter_frame - last_parent_frame != 1: warnings.warn('lineage {} has daughter {} before parent.'.format( - cell_label, daughter)) + parent, cell_label)) return False return True # all cell lineages are valid! diff --git a/setup.py b/setup.py index f377c89..2982edc 100644 --- a/setup.py +++ b/setup.py @@ -37,7 +37,7 @@ readme = f.read() -VERSION = '0.5.0-rc.2' +VERSION = '0.5.0-rc.3' NAME = 'DeepCell_Tracking' DESCRIPTION = 'Tracking cells and lineage with deep learning.' LICENSE = 'LICENSE'