Skip to content

Commit

Permalink
bugfix: mouse_contours reference before assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
afunTW committed Jan 21, 2019
1 parent 53c3def commit 3600990
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions utils/visualization.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ def main(args):

with open(args.config, 'r') as f:
config = json.load(f)['outputs']
mouse_contours = None
if args.mouse_contours:
with open(args.mouse_contours, 'r') as f:
mouse_contours = json.load(f)
Expand Down

0 comments on commit 3600990

Please sign in to comment.