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

Issue with jsontools.py file #9

Open
goharkhan7 opened this issue Aug 28, 2024 · 1 comment
Open

Issue with jsontools.py file #9

goharkhan7 opened this issue Aug 28, 2024 · 1 comment

Comments

@goharkhan7
Copy link

goharkhan7 commented Aug 28, 2024

while running the multi sample code i get this error

multi_sam/cromwell-executions/MitochondriaPipeline/f10932f4-93f7-4b3c-8bea-e5c4e2455827/call-AlignAndCallR2/AlignAndCallR2/1887beac-6a1e-457e-8d2c-e25b68b1fa2a/call-AlignToMtRegShiftedAndMetrics/execution/stderr

Upon looking to the stderr file i get the following statements

Traceback (most recent call last):
File "/cromwell-executions/MitochondriaPipeline/f10932f4-93f7-4b3c-8bea-e5c4e2455827/call-AlignAndCallR2/AlignAndCallR2/1887beac-6a1e-457e-8d2c-e25b68b1fa2a/call-AlignToMtRegShiftedAndMetrics/inputs/603824970/jsontools.py", line 67, in
data_in = parse_vars(args.set, type=str)
File "/cromwell-executions/MitochondriaPipeline/f10932f4-93f7-4b3c-8bea-e5c4e2455827/call-AlignAndCallR2/AlignAndCallR2/1887beac-6a1e-457e-8d2c-e25b68b1fa2a/call-AlignToMtRegShiftedAndMetrics/inputs/603824970/jsontools.py", line 31, in parse_vars
key, value = parse_var(item)
File "/cromwell-executions/MitochondriaPipeline/f10932f4-93f7-4b3c-8bea-e5c4e2455827/call-AlignAndCallR2/AlignAndCallR2/1887beac-6a1e-457e-8d2c-e25b68b1fa2a/call-AlignToMtRegShiftedAndMetrics/inputs/603824970/jsontools.py", line 20, in parse_var
return (key, value)
UnboundLocalError: local variable 'value' referenced before assignment

The script is running with the default values using cromwell-87 on local machine. Is this issue is inside the jsontools.py file? How to fix this error?

@rahulg603
Copy link
Owner

Hello! I believe this issue is due to your use of the multi-sample pipeline, which is incompatible with Cromwell and is intended for the DNANexus RAP platform. Please use the single-sample pipeline – this pipeline analyzes one sample per job but can be parallelized with scatter-gather.

@github-staff github-staff deleted a comment Aug 28, 2024
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

2 participants