Closed aryarm closed 4 years ago
or this
# double check that the user isn't asking for samples they haven't provided
user_samps = set(config['SAMP_NAMES'])
config['SAMP_NAMES'] = list(set(SAMP.keys()).intersection(user_samps))
if len(config['SAMP_NAMES']) != len(user_samps):
warnings.warn("Not all of the samples requested have provided input. Proceeding with as many samples as is possible...")
double check that the user isn't asking for samples they haven't provided when using
config['SAMP_NAMES']
maybe use something like this?