Mercurial Hosting > traffic-intelligence
diff scripts/compute-clearmot.py @ 636:3058e00887bc
removed all issues because of tests with None, using is instead of == or !=
author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
---|---|
date | Tue, 24 Mar 2015 18:11:28 +0100 |
parents | 17b02c8054d0 |
children | e14e2101a5a9 |
line wrap: on
line diff
--- a/scripts/compute-clearmot.py Tue Mar 24 14:17:12 2015 +0100 +++ b/scripts/compute-clearmot.py Tue Mar 24 18:11:28 2015 +0100 @@ -20,7 +20,7 @@ parser.add_argument('-l', dest = 'lastInstant', help = 'last instant for measurement', required = True, type = int) args = parser.parse_args() -if args.homographyFilename != None: +if args.homographyFilename is not None: homography = loadtxt(args.homographyFilename) else: homography = None