Skip to content

Commit

Permalink
Use DeprecationWarning
Browse files Browse the repository at this point in the history
Co-authored-by: willgraf <7930703+willgraf@users.noreply.github.com>
  • Loading branch information
R-Ding and willgraf committed Aug 5, 2021
1 parent 2a570b3 commit 9b4ba6d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion deepcell_tracking/isbi_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,8 @@ def benchmark_division_performance(trk_gt, trk_res, path_gt=None, path_res=None)

# Produce ISBI style array to work with
if path_gt is not None or path_res is not None:
warnings.warn("UserWarning: The 'path_gt` and 'path_res' arguments are deprecated.")
warnings.warn('The `path_gt` and `path_res` arguments are deprecated.',
DeprecationWarning)
gt = trk_to_isbi(lineage_gt, path_gt)
res = trk_to_isbi(lineage_res, path_res)

Expand Down

0 comments on commit 9b4ba6d

Please sign in to comment.