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

gget pdb error in python #91

Closed
Paulie-ai opened this issue Jul 12, 2023 · 3 comments
Closed

gget pdb error in python #91

Paulie-ai opened this issue Jul 12, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@Paulie-ai
Copy link

What happened?

Hi,
when i uesd command gget pdb 1R42 -o 1R42.pdb, recieved error with
Traceback (most recent call last):
File "/home/xxx/anaconda3/envs/gmx_plumed/bin/gget", line 8, in
sys.exit(main())
File "/home/xxx/anaconda3/envs/gmx_plumed/lib/python3.8/site-packages/gget/main.py", line 2102, in main
pdb_results = pdb(
TypeError: pdb() got an unexpected keyword argument 'verbose'

gget version

0.27.7

Operating System (OS)

Linux

User interface

Command-line

Are you using a computer with an Apple M1 chip?

Not M1

What is the exact command that was run?

gget pdb 1R42 -o 1R42.pdb

Which output/error did you get?

Traceback (most recent call last):
  File "/home/xxx/anaconda3/envs/gmx_plumed/bin/gget", line 8, in <module>
    sys.exit(main())
  File "/home/xxx/anaconda3/envs/gmx_plumed/lib/python3.8/site-packages/gget/main.py", line 2102, in main
    pdb_results = pdb(
TypeError: pdb() got an unexpected keyword argument 'verbose'
@Paulie-ai
Copy link
Author

import gget
gget.pdb("1R42", save=True)
but did not get error.

@lauraluebbert lauraluebbert added the bug Something isn't working label Jul 12, 2023
@lauraluebbert
Copy link
Member

Hi, thank you very much for bringing this bug to our attention. This is indeed a bug with the gget pdb module which only occurs when gget pdb is called from the command line. We will release a new version tomorrow with a fix

@lauraluebbert
Copy link
Member

This bug was introduced in version 0.27.5, so in the meantime, you can fix this problem by downgrading gget (pip install gget==0.27.4). Sorry about this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants