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

bamsnap runs into error when -process option is used #27

Open
ManavalanG opened this issue Aug 9, 2021 · 0 comments
Open

bamsnap runs into error when -process option is used #27

ManavalanG opened this issue Aug 9, 2021 · 0 comments

Comments

@ManavalanG
Copy link

ManavalanG commented Aug 9, 2021

bamsnap runs into error when -process was used, although it still successfully writes the output file. WIthout -process, the same command runs successfully.

Traceback (most recent call last):
  File "/.conda/envs/bamsnap/bin/bamsnap", line 10, in <module>
    sys.exit(cli())
  File "/.conda/envs/bamsnap/lib/python3.9/site-packages/bamsnap/__init__.py", line 12, in cli
    bs.run()
  File "/.conda/envs/bamsnap/lib/python3.9/site-packages/bamsnap/bamsnap.py", line 211, in run
    self.start_process_drawplot(image_w, self.bamlist)
  File "/.conda/envs/bamsnap/lib/python3.9/site-packages/bamsnap/bamsnap.py", line 83, in start_process_drawplot
    image_w, bamlist, self.split_poslist[tno], self.opt, self.is_single_image_out), name='proc ' + str(tno+1))
KeyError: 1
2021-08-09 13:57:15,362 : [INFO] (proc 1) Saved test.png
2021-08-09 13:57:15,362 : [INFO] (proc 1) Saved test.png : 3.18431 sec

Versions used:

  • python - 3.9.4
  • bamsnap - bamsnap ver0.2.19 (2021-03-02)
  • OS - Red Hat Enterprise Linux Server release 7.8 (Maipo)
  • Conda - conda 4.10.1
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