Re: [PyMOL] APBS-electrostatics

2007-10-09 Thread Michael Lerner
It looks like quite a few people are actually still using the
electrostatics wizard, so I updated the code on my website
(http://www.umich.edu/~mlerner/PyMOL). For what it's worth, I just use
the visualization pane of the APBS plugin these days, but I understand
if the wizard is a little cleaner for some purposes.

-- 
Biophysics Graduate Student
Carlson Lab, University of Michigan
http://www.umich.edu/~mlerner


On 10/4/07, DeLano Scientific del...@delsci.info wrote:


 Gianluigi,

 The API changed in PyMOL 1.0 in order to accomodate multiple PyMOL instances
 in a single Python interpreter -- your wizard needs to be updated so that
 the init method takes a _self keyword argument:

 def __init__(, _self=cmd):
...


 --
 DeLano Scientific LLC
 Subscriber Support Services
 mailto:del...@delsci.info

 Not yet a PyMOL Subscriber, but want to support the project?  Email
 sa...@delsci.com to quote your lab, school, or employer.  Thank you for
 sponsoring this open-source endeavor! -WLD



  
  From: pymol-users-boun...@lists.sourceforge.net
 [mailto:pymol-users-boun...@lists.sourceforge.net] On
 Behalf Of Gianluigi Caltabiano
 Sent: Thursday, October 04, 2007 7:55 AM
 To: pymol-users@lists.sourceforge.net
 Subject: [PyMOL] APBS-electrostatics



 Hi everybody,
 I am trying to use the electrostatic wizard to read some .dx file I made.
 It always worked..since I up-graded to pymol 1.0.
 Now it doesn't work ( I have already checked the modification in
 __init__.py file, it's fine).
 The message it give to me is:

 Traceback (most recent call last):
   File C:\Archivos de programa\DeLano
 Scientific\PyMOL/modules\pymol\parser.py, line 251, in
 parse
 self.result=apply(layer.kw[0],layer.args,layer.kw_args)
   File C:\Archivos de programa\DeLano
 Scientific\PyMOL/modules\pymol\wizarding.py, line 86, in
 wizard
 r = _wizard(name,arg,kwd,0)
   File C:\Archivos de programa\DeLano
 Scientific\PyMOL/modules\pymol\wizarding.py, line 45, in
 _wizard
 wiz = apply(getattr(mod_obj,oname),arg,kwd)
 TypeError: __init__() got an unexpected keyword argument '_self'

 Thank you for your help

 Gianluigi Caltabiano


  
  
  L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail


 -
 This SF.net email is sponsored by: Splunk Inc.
 Still grepping through log files to find problems?  Stop.
 Now Search log events and configuration files using AJAX and a browser.
 Download your FREE copy of Splunk now  http://get.splunk.com/
 ___
 PyMOL-users mailing list
 PyMOL-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pymol-users





[PyMOL] APBS-electrostatics

2007-10-04 Thread Gianluigi Caltabiano
Hi everybody,
  I am trying to use the electrostatic wizard to read some .dx file I made.
  It always worked..since I up-graded to pymol 1.0.
  Now it doesn't work ( I have already checked the modification in 
__init__.py file, it's fine).
  The message it give to me is:
   
  Traceback (most recent call last):
  File C:\Archivos de programa\DeLano 
Scientific\PyMOL/modules\pymol\parser.py, line 251, in parse
self.result=apply(layer.kw[0],layer.args,layer.kw_args)
  File C:\Archivos de programa\DeLano 
Scientific\PyMOL/modules\pymol\wizarding.py, line 86, in wizard
r = _wizard(name,arg,kwd,0)
  File C:\Archivos de programa\DeLano 
Scientific\PyMOL/modules\pymol\wizarding.py, line 45, in _wizard
wiz = apply(getattr(mod_obj,oname),arg,kwd)
TypeError: __init__() got an unexpected keyword argument '_self'
   
  Thank you for your help
   
  Gianluigi Caltabiano
   

   
-

-
L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail

Re: [PyMOL] APBS-electrostatics

2007-10-04 Thread DeLano Scientific
Gianluigi,
 
The API changed in PyMOL 1.0 in order to accomodate multiple PyMOL instances
in a single Python interpreter -- your wizard needs to be updated so that
the init method takes a _self keyword argument:
 
def __init__(, _self=cmd):
   ...
 
--
DeLano Scientific LLC
Subscriber Support Services
mailto:del...@delsci.info
 
Not yet a PyMOL Subscriber, but want to support the project?  Email
sa...@delsci.com to quote your lab, school, or employer.  Thank you for
sponsoring this open-source endeavor! -WLD
 


  _  

From: pymol-users-boun...@lists.sourceforge.net
[mailto:pymol-users-boun...@lists.sourceforge.net] On Behalf Of Gianluigi
Caltabiano
Sent: Thursday, October 04, 2007 7:55 AM
To: pymol-users@lists.sourceforge.net
Subject: [PyMOL] APBS-electrostatics


Hi everybody,
I am trying to use the electrostatic wizard to read some .dx file I made.
It always worked..since I up-graded to pymol 1.0.
Now it doesn't work ( I have already checked the modification in
__init__.py file, it's fine).
The message it give to me is:
 
Traceback (most recent call last):
  File C:\Archivos de programa\DeLano
Scientific\PyMOL/modules\pymol\parser.py, line 251, in parse
self.result=apply(layer.kw[0],layer.args,layer.kw_args)
  File C:\Archivos de programa\DeLano
Scientific\PyMOL/modules\pymol\wizarding.py, line 86, in wizard
r = _wizard(name,arg,kwd,0)
  File C:\Archivos de programa\DeLano
Scientific\PyMOL/modules\pymol\wizarding.py, line 45, in _wizard
wiz = apply(getattr(mod_obj,oname),arg,kwd)
TypeError: __init__() got an unexpected keyword argument '_self'
 
Thank you for your help
 
Gianluigi Caltabiano
 



  _  


  _  

L'email della prossima generazione? Puoi averla con la nuova
http://us.rd.yahoo.com/mail/it/taglines/hotmail/nowyoucan/nextgen/*http://i
t.docs.yahoo.com/nowyoucan.html Yahoo! Mail