Update of /cvsroot/fink/dists/10.4/stable/main/finkinfo/sci
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv7067
Added Files:
pymol-py-apbstools.patch
Log Message:
add pymol-py-apbstools.patch
--- NEW FILE: pymol-py-apbstools.patch ---
--- pymol-1.6.0/modules/pmg_tk/startup/apbs_tools.py.orig 2013-08-23
11:59:00.000000000 -0400
+++ pymol-1.6.0/modules/pmg_tk/startup/apbs_tools.py 2013-08-23
12:00:59.000000000 -0400
@@ -612,7 +612,8 @@
# Set up the Main page
page = self.notebook.add('Main')
group = Pmw.Group(page,tag_text='Main options')
- group.pack(fill = 'both', expand = 1, padx = 10, pady = 5)
+ #group.pack(fill = 'both', expand = 1, padx = 10, pady = 5)
+ group.grid(padx = 10, pady = 5, sticky=(N, S, E, W))
self.selection = Pmw.EntryField(group.interior(),
labelpos='w',
label_text='Selection to use: ',
@@ -658,7 +659,8 @@
page = self.notebook.add('Configuration')
group = Pmw.Group(page,tag_text='Dielectric Constants')
- group.pack(fill = 'both', expand = 1, padx = 4, pady = 5)
+ #group.pack(fill = 'both', expand = 1, padx = 4, pady = 5)
+ group.grid(padx = 4, pady = 5, sticky=(N, S, E, W))
group.grid(column=0, row=0)
self.interior_dielectric =
Pmw.EntryField(group.interior(),labelpos='w',
label_text = 'Protein Dielectric:',
@@ -677,7 +679,8 @@
#entry.pack(side='left',fill='both',expand=1,padx=4) # side-by-side
entry.pack(fill='x',expand=1,padx=4,pady=1) # vertical
group = Pmw.Group(page,tag_text='Other')
- group.pack(fill='both',expand=1, padx=4, pady=5)
+ #group.pack(fill='both',expand=1, padx=4, pady=5)
+ group.grid(padx=4, pady=5, sticky=(N, S, E, W))
group.grid(column=1, row=1,columnspan=4)
self.max_mem_allowed = Pmw.EntryField(group.interior(),labelpos='w',
label_text = 'Maximum Memory
Allowed (MB):',
@@ -735,7 +738,8 @@
group = Pmw.Group(page,tag_text='Ions')
- group.pack(fill='both',expand=1, padx=4, pady=5)
+ #group.pack(fill='both',expand=1, padx=4, pady=5)
+ group.grid(padx=4, pady=5, sticky=(N, S, E, W))
group.grid(column=0, row=1, )
self.ion_plus_one_conc = Pmw.EntryField(group.interior(),
labelpos='w',
@@ -794,7 +798,8 @@
entry.pack(fill='x',expand=1,padx=4)
group = Pmw.Group(page,tag_text = 'Coarse Mesh Length')
- group.pack(fill = 'both', expand = 1, padx = 4, pady = 5)
+ #group.pack(fill = 'both', expand = 1, padx = 4, pady = 5)
+ group.grid(padx = 4, pady = 5, sticky=(N, S, E, W))
group.grid(column = 1, row = 0)
for coord in 'x y z'.split():
setattr(self,'grid_coarse_%s'%coord,Pmw.EntryField(group.interior(),
@@ -809,7 +814,8 @@
group = Pmw.Group(page,tag_text = 'Fine Mesh Length')
- group.pack(fill = 'both', expand = 1, padx = 4, pady = 5)
+ #group.pack(fill = 'both', expand = 1, padx = 4, pady = 5)
+ group.grid(padx = 4, pady = 5, sticky=(N, S, E, W))
group.grid(column = 2, row = 0)
for coord in 'x y z'.split():
setattr(self,'grid_fine_%s'%coord,Pmw.EntryField(group.interior(),
@@ -824,7 +830,8 @@
group = Pmw.Group(page,tag_text = 'Grid Center')
- group.pack(fill = 'both', expand = 1, padx = 4, pady = 5)
+ #group.pack(fill = 'both', expand = 1, padx = 4, pady = 5)
+ group.grid(padx = 4, pady = 5, sticky=(N, S, E, W))
group.grid(column = 3, row = 0)
for coord in 'x y z'.split():
setattr(self,'grid_center_%s'%coord,Pmw.EntryField(group.interior(),
@@ -838,7 +845,8 @@
getattr(self,'grid_center_%s'%coord).pack(fill='x', expand=1,
padx=4, pady=1)
group = Pmw.Group(page,tag_text = 'Grid Points')
- group.pack(fill = 'both', expand = 1, padx = 4, pady = 5)
+ #group.pack(fill = 'both', expand = 1, padx = 4, pady = 5)
+ group.grid(padx = 4, pady = 5, sticky=(N, S, E, W))
group.grid(column = 4, row = 0)
for coord in 'x y z'.split():
setattr(self,'grid_points_%s'%coord,Pmw.EntryField(group.interior(),
@@ -856,7 +864,8 @@
page.grid_columnconfigure(5,weight=1)
page = self.notebook.add('Program Locations')
group = Pmw.Group(page,tag_text='Locations')
- group.pack(fill = 'both', expand = 1, padx = 10, pady = 5)
+ #group.pack(fill = 'both', expand = 1, padx = 10, pady = 5)
+ group.grid(padx = 10, pady = 5, sticky=(N, S, E, W))
def quickFileValidation(s):
if s == '': return Pmw.PARTIAL
elif os.path.isfile(s): return Pmw.OK
@@ -955,7 +964,8 @@
page = self.notebook.add('Temp File Locations')
group = Pmw.Group(page,tag_text='Locations')
- group.pack(fill = 'both', expand = 1, padx = 10, pady = 5)
+ #group.pack(fill = 'both', expand = 1, padx = 10, pady = 5)
+ group.grid(padx = 10, pady = 5, sticky=(N, S, E, W))
self.pymol_generated_pqr_filename = Pmw.EntryField(group.interior(),
labelpos = 'w',
label_pyclass =
FileDialogButtonClassFactory.get(self.setPymolGeneratedPqrFilename),
@@ -1003,17 +1013,20 @@
page = self.notebook.add('Visualization (1)')
group =
VisualizationGroup(page,tag_text='Visualization',visgroup_num=1)
self.visualization_group_1 = group
- group.pack(fill = 'both', expand = 1, padx = 10, pady = 5)
+ #group.pack(fill = 'both', expand = 1, padx = 10, pady = 5)
+ group.grid(padx = 10, pady = 5, sticky=(N, S, E, W))
page = self.notebook.add('Visualization (2)')
group =
VisualizationGroup(page,tag_text='Visualization',visgroup_num=2)
self.visualization_group_2 = group
- group.pack(fill = 'both', expand = 1, padx = 10, pady = 5)
+ #group.pack(fill = 'both', expand = 1, padx = 10, pady = 5)
+ group.grid(padx = 10, pady = 5, sticky=(N, S, E, W))
# Create a couple of other empty pages
page = self.notebook.add('About')
group = Pmw.Group(page, tag_text='About PyMOL APBS Tools')
- group.pack(fill = 'both', expand = 1, padx = 10, pady = 5)
+ #group.pack(fill = 'both', expand = 1, padx = 10, pady = 5)
+ group.grid(padx = 10, pady = 5, sticky=(N, S, E, W))
text = """This plugin integrates PyMOL (http://PyMOL.org/) with APBS
(http://www.poissonboltzmann.org/apbs/).
Documentation may be found at
@@ -2267,7 +2280,8 @@
self.update_buttonbox = Pmw.ButtonBox(self.mm_group.interior(),
padx=0)
self.update_buttonbox.pack(side=LEFT)
self.update_buttonbox.add('Update',command=self.refresh)
- self.mm_group.pack(fill = 'both', expand = 1, padx = 4, pady = 5,
side=TOP)
+ #self.mm_group.pack(fill = 'both', expand = 1, padx = 4, pady = 5,
side=TOP)
+ self.mm_group.grid(padx = 4, pady = 5, sticky=(N, S, E, W))
self.ms_group = Pmw.Group(self.interior(),tag_text='Molecular
Surface')
self.ms_buttonbox = Pmw.ButtonBox(self.ms_group.interior(), padx=0)
@@ -2317,8 +2331,9 @@
)
bars = (self.mol_surf_low,self.mol_surf_middle,self.mol_surf_high)
Pmw.alignlabels(bars)
- for bar in bars: bar.pack(side=LEFT)
- self.ms_group.pack(fill = 'both', expand = 1, padx = 4, pady = 5,
side=LEFT)
+ for bar in bars: bar.pack(expand = 1, side=LEFT)
+ #self.ms_group.pack(fill = 'both', expand = 1, padx = 4, pady = 5,
side=LEFT)
+ self.ms_group.grid(column=0, row=1, padx = 4, pady = 5, rowspan =
2, sticky=(N, S, E, W))
self.fl_group = Pmw.Group(self.interior(),tag_text='Field Lines')
self.fl_buttonbox = Pmw.ButtonBox(self.fl_group.interior(), padx=0)
@@ -2333,11 +2348,13 @@
text = """Follows same coloring as
surface.""",
)
label.pack()
- self.fl_group.pack(fill = 'both', expand = 1, padx = 4, pady = 5,
side=TOP)
+ #self.fl_group.pack(fill = 'both', expand = 1, padx = 4, pady = 5,
side=TOP)
+ self.fl_group.grid(column = 1, row=0, padx = 4, pady = 5)
self.pi_group = Pmw.Group(self.interior(),tag_text='Positive
Isosurface')
self.pi_buttonbox = Pmw.ButtonBox(self.pi_group.interior(), padx=0)
- self.pi_buttonbox.pack()
+ #self.pi_buttonbox.pack()
+ self.pi_buttonbox.grid()
self.pi_buttonbox.add('Show',command=self.showPosSurface)
self.pi_buttonbox.add('Hide',command=self.hidePosSurface)
self.pi_buttonbox.add('Update',command=self.updatePosSurface)
@@ -2351,12 +2368,15 @@
datatype = 'real',
entryfield_validate = {'validator'
: 'real', 'min':0}
)
- self.pos_surf_val.pack(side=LEFT)
- self.pi_group.pack(fill = 'both', expand = 1, padx = 4, pady = 5,
side=LEFT)
+ #self.pos_surf_val.pack(side=LEFT)
+ self.pos_surf_val.grid()
+ #self.pi_group.pack(fill = 'both', expand = 1, padx = 4, pady = 5,
side=LEFT)
+ self.pi_group.grid(column = 1, row = 1, padx = 4, pady = 5,
sticky=(N, S, E, W))
self.ni_group = Pmw.Group(self.interior(),tag_text='Negative
Isosurface')
self.ni_buttonbox = Pmw.ButtonBox(self.ni_group.interior(), padx=0)
- self.ni_buttonbox.pack()
+ #self.ni_buttonbox.pack()
+ self.ni_buttonbox.grid()
self.ni_buttonbox.add('Show',command=self.showNegSurface)
self.ni_buttonbox.add('Hide',command=self.hideNegSurface)
self.ni_buttonbox.add('Update',command=self.updateNegSurface)
@@ -2370,8 +2390,10 @@
datatype = 'real',
entryfield_validate = {'validator'
: 'real', 'max':0}
)
- self.neg_surf_val.pack(side=LEFT)
- self.ni_group.pack(fill = 'both', expand = 1, padx = 4, pady = 5,
side=LEFT)
+ #self.neg_surf_val.pack(side=LEFT)
+ self.neg_surf_val.grid()
+ #self.ni_group.pack(fill = 'both', expand = 1, padx = 4, pady = 5,
side=LEFT)
+ self.ni_group.grid(column = 1, row=2, padx = 4, pady = 5,
sticky=(N, S, E, W))
------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and
AppDynamics. Performance Central is your source for news, insights,
analysis and resources for efficient Application Performance Management.
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs