Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

import_config error #27

Open
bknisbac opened this issue Oct 18, 2019 · 0 comments
Open

import_config error #27

bknisbac opened this issue Oct 18, 2019 · 0 comments

Comments

@bknisbac
Copy link
Contributor

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)
in
----> 1 wm.import_config('broadinstitute-gtex/rnaseq_bam_star_rsem_rnaseqc_v1-2_BETA_cfg')

~/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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant