dalmatian
dalmatian copied to clipboard
import_config error
I'm using firecloud-dalmatian==0.0.17 and get an error message when trying to import a public config:
wm.import_config('broadinstitute-gtex/rnaseq_bam_star_rsem_rnaseqc_v1-2_BETA_cfg')
UnboundLocalError Traceback (most recent call last)
~/anaconda3/lib/python3.7/site-packages/dalmatian/wmanager.py in import_config(self, reference) 1161 """ 1162 # get latest snapshot -> 1163 c = get_config(reference) 1164 if len(c)==0: 1165 raise ValueError('Configuration "{}" not found (name must match exactly).'.format(reference))
~/anaconda3/lib/python3.7/site-packages/dalmatian/core.py in get_config(reference) 634 3) reference = "name" 635 """ --> 636 namespace, name, version = decode_config(namespace, name, decode_only=True) 637 return _get_config_internal(namespace, name) 638
UnboundLocalError: local variable 'namespace' referenced before assignment
The wm
object is okay, because commands like wm.get_samples()
work as expected.
Any suggestions?
Thanks, Binyamin