dataset ... (fix)

This commit is contained in:
Steve Nyemba 2020-03-04 14:30:40 -06:00
parent 142491cf5b
commit 84b3e6c048
1 changed files with 4 additions and 3 deletions

View File

@ -12,7 +12,7 @@ from data.params import SYS_ARGS
# #
# The configuration array is now loaded and we will execute the pipe line as follows # The configuration array is now loaded and we will execute the pipe line as follows
DATASET='combined20190510' DATASET='combined20191004v2_deid'
class Components : class Components :
@ -233,11 +233,12 @@ if __name__ == '__main__' :
index = int(SYS_ARGS['index']) if 'index' in SYS_ARGS else 0 index = int(SYS_ARGS['index']) if 'index' in SYS_ARGS else 0
args = (PIPELINE[index]) args = (PIPELINE[index])
args['dataset'] = 'combined20190510'
args = dict(args,**SYS_ARGS) args = dict(args,**SYS_ARGS)
args['max_rows'] = int(args['max_rows']) if 'max_rows' in args else 3 args['max_rows'] = int(args['max_rows']) if 'max_rows' in args else 3
args['part_size']= int(args['part_size']) if 'part_size' in args else 3 args['part_size']= int(args['part_size']) if 'part_size' in args else 3
if 'dataset' not in args :
args['dataset'] = 'combined20191004v2_deid'
# #
# @TODO: # @TODO: