Lines Matching defs:args
74 args = parser.parse_args(sys.argv[1:])
76 model = BlobModel(unitNamePrefix=args.prefix)
78 if args.picture and os.access(args.picture, os.O_RDONLY):
79 model.load_picture(args.picture)
81 parser.error('Can\'t read picture file: ' + args.picture)
86 defaultEventFile=args.eventFile,
87 defaultPictureFile=args.picture)
93 if args.mini_views:
98 if args.eventFile and os.access(args.eventFile, os.O_RDONLY):
99 controller.startTime = args.start_time
100 controller.endTime = args.end_time
101 model.load_events(args.eventFile, startTime=args.start_time,
102 endTime=args.end_time)
105 parser.error('Can\'t read event file: ' + args.eventFile)