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

Colab docking issue with file dependency written in python 2 #5

Open
ppxasjsm opened this issue Jul 18, 2024 · 0 comments
Open

Colab docking issue with file dependency written in python 2 #5

ppxasjsm opened this issue Jul 18, 2024 · 0 comments

Comments

@ppxasjsm
Copy link

I am trying to run tutorial 6 for docking and the script preapare_receptor4.py and preapre_ligand4.py both seem to be written in python 2.7 when I try and run it on colab.

As a result, I get the following error:

#Parameterizing and adding Gasteiger charges into our protein using MGLtools!prepare_receptor4.py -r $singlepath/1hsg_prot.pdb -o $singlepath/1hsg_prot.pdbqt -A hydrogens -U nphs_lps -v

  File "/usr/local/bin/prepare_receptor4.py", line 22
    print "Usage: prepare_receptor4.py -r filename"
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?

Where does the prepare_receptor4.py come in? Any chance there exists a python 3.+ version?

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