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

Python3: index-based access to data view #33

Closed
ptrebert opened this issue Jul 26, 2018 · 2 comments
Closed

Python3: index-based access to data view #33

ptrebert opened this issue Jul 26, 2018 · 2 comments

Comments

@ptrebert
Copy link

Hi,
sort of as a "follow-up" to the other Python3 related error (#30), there is an error in the postprocessing script:

File "[...]/python3.6/site-packages/PePr/post_processing/post_process_PePr.py", line 90, in main
        readData.read_length = readData.get_read_length()

File "[...]/python3.6/site-packages/PePr/post_processing/post_process_PePr.py", line 78, in get_read_length
        return self.read_length_dict.values()[0]

    TypeError: 'dict_values' object does not support indexing

I guess this works in Python2.7, but no longer in 3.x

Best,
Peter

@shawnzhangyx
Copy link
Owner

Hi Peter,
Thanks for pointing it out. I push a commit to the github to fix this error. Could you try cloning this latest version and let me know if it works?

Best,
Shawn

@ptrebert
Copy link
Author

Hi Shawn,
looks like it worked, postprocessing completed w/o further issues. Thanks
Best,
Peter

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