def apply_qualcontrol(acfg): return { 'qcfg': ut.augdict(acfg['qcfg'], { 'require_quality': True, }), 'dcfg': ut.augdict(acfg['dcfg'], { 'require_quality': True, }), }
def apply_timecontrol(acfg, min_timedelta='6h', require_timestamp=True): return { 'qcfg': ut.augdict( acfg['qcfg'], {'require_timestamp': require_timestamp, 'min_timedelta': min_timedelta}, ), 'dcfg': ut.augdict( acfg['dcfg'], {'require_timestamp': require_timestamp, 'min_timedelta': min_timedelta}, ), }
def apply_qualcontrol(acfg): return { 'qcfg': ut.augdict( acfg['qcfg'], { 'require_quality': True, }), 'dcfg': ut.augdict( acfg['dcfg'], { 'require_quality': True, }), }
def apply_timecontrol(acfg, min_timedelta='6h', require_timestamp=True): return { 'qcfg': ut.augdict( acfg['qcfg'], { 'require_timestamp': require_timestamp, 'min_timedelta': min_timedelta, }), 'dcfg': ut.augdict( acfg['dcfg'], { 'require_timestamp': require_timestamp, 'min_timedelta': min_timedelta, }), }
return { 'qcfg': ut.augdict( acfg['qcfg'], { 'require_quality': True, }), 'dcfg': ut.augdict( acfg['dcfg'], { 'require_quality': True, }), } __baseline_aidcfg = ut.augdict(__default_aidcfg, { 'is_known': True, 'minqual': 'ok', 'view': 'primary', 'view_ext': 1, }) __controlled_aidcfg = ut.augdict(__baseline_aidcfg, { #'require_timestamp': True, 'view_ext': 0, 'minqual': 'ok', 'species': 'primary', 'is_known': True, }) single_default = __default_aidcfg exclude_vars = list(vars().keys()) # this line is before tests
def apply_qualcontrol(acfg): return { 'qcfg': ut.augdict(acfg['qcfg'], { 'require_quality': True, }), 'dcfg': ut.augdict(acfg['dcfg'], { 'require_quality': True, }), } __baseline_aidcfg = ut.augdict(__default_aidcfg, { 'is_known': True, 'minqual': 'ok', 'view': 'primary', 'view_ext': 1, }) __controlled_aidcfg = ut.augdict( __baseline_aidcfg, { #'require_timestamp': True, 'view_ext': 0, 'minqual': 'ok', 'species': 'primary', 'is_known': True, }) single_default = __default_aidcfg