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

Error assessing Drugability in DruGui #2030

Open
MigueLugo opened this issue Jan 27, 2025 · 0 comments
Open

Error assessing Drugability in DruGui #2030

MigueLugo opened this issue Jan 27, 2025 · 0 comments

Comments

@MigueLugo
Copy link

Hi..
Running the module I got the following error.

It is worth to say that before I got problem with "import cPickle in druggability.py and I solve it with "import _pickle as cPickle". But still the following error:

Thanks

Traceback (most recent call last):
File "C:\Program Files (x86)\University of Illinois\drugui_tutorial_files\output\test2.py", line 34, in
dia = DIA('test2', workdir='C:/Program Files (x86)/University of Illinois/drugui_tutorial_files/output/test2', verbose=verbose)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files (x86)/University of Illinois/VMD/plugins/noarch/tcl/drugui\druggability.py", line 1562, in init
ABase.init(self, name, **kwargs)
File "C:\Program Files (x86)/University of Illinois/VMD/plugins/noarch/tcl/drugui\druggability.py", line 184, in init
if kwargs.has_key('workdir'):
^^^^^^^^^^^^^^
AttributeError: 'dict' object has no attribute 'has_key'
Traceback (most recent call last):
File "C:\Program Files (x86)\University of Illinois\drugui_tutorial_files\output\test2.py", line 34, in
dia = DIA('test2', workdir='C:/Program Files (x86)/University of Illinois/drugui_tutorial_files/output/test2', verbose=verbose)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files (x86)/University of Illinois/VMD/plugins/noarch/tcl/drugui\druggability.py", line 1562, in init
ABase.init(self, name, **kwargs)
File "C:\Program Files (x86)/University of Illinois/VMD/plugins/noarch/tcl/drugui\druggability.py", line 184, in init
if kwargs.has_key('workdir'):
^^^^^^^^^^^^^^
AttributeError: 'dict' object has no attribute 'has_key'
while executing
"exec $pythonexe [file join "$outputdir" "$pyprefix.py"] critical"
(procedure "::druggability::Assess_druggability" line 20)
invoked from within
"::druggability::Assess_druggability"
invoked from within
".druggui.main_frame.analyze.button invoke"
("uplevel" body line 1)
invoked from within
"uplevel #0 [list $w invoke]"
(procedure "tk::ButtonUp" line 24)
invoked from within
"tk::ButtonUp .druggui.main_frame.analyze.button"
(command bound to event)

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