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

KeyError: "Unable to open object (object 'predictions' doesn't exist)" #185

Open
hannahgoldswain opened this issue Apr 13, 2023 · 0 comments

Comments

@hannahgoldswain
Copy link

Hi,

I am trying to run pepper locally (ie not with sudo as I don't have those permissions) and used the pepper polish command successfully a few weeks ago, however now I get to the stitch command and get these errors:

[04-13-2023 11:19:34] INFO: STITCH MODULE SELECTED
Traceback (most recent call last):
File "/home/hannahg/Tools/pepper/venv/bin/pepper", line 11, in
load_entry_point('pepper-polish==0.8.0', 'console_scripts', 'pepper')()
File "/home/hannahg/Tools/pepper/venv/lib/python3.8/site-packages/pepper_polish-0.8.0-py3.8-linux-x86_64.egg/pepper/pepper.py", line 350, in main
perform_stitch(FLAGS.input_dir,
File "/home/hannahg/Tools/pepper/venv/lib/python3.8/site-packages/pepper_polish-0.8.0-py3.8-linux-x86_64.egg/pepper/modules/python/perform_stitch.py", line 50, in perform_stitch
contigs = list(hdf5_file['predictions'].keys())
File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
File "/home/hannahg/Tools/pepper/venv/lib/python3.8/site-packages/h5py/_hl/group.py", line 264, in getitem
oid = h5o.open(self.id, self._e(name), lapl=self._lapl)
File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
File "h5py/h5o.pyx", line 190, in h5py.h5o.open
KeyError: "Unable to open object (object 'predictions' doesn't exist)"

I have tried running the three commands individually but also get stuck at the stitch command. How do I get past this? I saw someone had this issue but couldn't see how to resolve it with your answer as it used sudo... apologies I'm very new to this. I had some problems with dependency clashes and wondered if this might be an issue, but am mostly lost.

Thanks for your help!

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