Fixing usage bug gor Chip init
Adding default cmdargs=None in parameter list so that init can be used without a command line.
@@ -29,7 +29,7 @@ class Chip:
"""
####################
- def __init__(self, cmdargs, loglevel="DEBUG"):
+ def __init__(self, cmdargs=None, loglevel="DEBUG"):
'''
Init method for Chip object
@@ -74,6 +74,7 @@ class Chip:
#Read in json files based on cfg
#Overide with command line arguments
+ if cmdargs is not None:
self.copyargs(cmdargs)
#Resolve all source files as absolute paths (should be a switch)
