mailRe: [task #6847] The Bieri graphical user interface.


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by Michael Bieri on November 19, 2009 - 02:56:
Hi

wx.Python is the module of all graphical objects, such as text boxes, buttons, panels... I thought wx.python is installed as standard in linux distributions (I think it is on Ubuntu). Therefore, I used these modules to build the GUI.

I will be on holiday from tomorrow until next Wednesday, so I will work on the incorporation next week. If you have some ideas what kind of parameters should be included in the Extras > Settings... dialog, please let me know and I will add them.

Cheers
Michael


Edward d'Auvergne schrieb:
Hi,

I received the same wx import error.  Michael, is this wx module
necessary?  In the original Gnome-terminal dependent version of
relaxGUI (now attached to task #6847,
https://gna.org/task/index.php?6847), wx was not needed.  Which parts
of the GUI need this?  Michael, I would suggest attacking the problem
of integrating relaxGUI into the core of relax by looking at the
'relax' file in the base directory and adding the command line
options.  Then once the Bieri GUI mode is selected, throw a RelaxError
if wx is not installed (well, only if this is absolutely required) so
that the error is clean and lets the user know that they need to
install the Python wx module.  Then the GUI can be launched in a
similar manner as the prompt and script interfaces.  Most of this can
be achieved by code duplication and slight modification.  To generate
patches for me to apply to the branch, just type:

$ svn diff > patch

and then send the patch to the relax-devel mailing list.

Cheers,

Edward


2009/11/18 Sébastien Morin <sebastien.morin.1@xxxxxxxxx>:
Hi Michael,

First of all, thank you !

Second, I just tried the GUI and got an error related to importing of
'wx'. On my Linux system (Gentoo Linux), 'wx' is provided through the
program 'wxpython'. I think this should thus be added as a dependency
with, possibly, some check to verify that it is present on the system
used...

At first glance, the GUI seems very nice !

Regards,


Séb


Michael Bieri wrote:
Follow-up Comment #2, task #6847 (project relax):

Hi

I atatched the relaxGUI program files. To start the GUI type:

$ relax relaxGUI.py in the corresponding folder.

The Extra > Settings... dialog is not implemented yet, but I can add
additional entries.

Let me know what you are thinking about and what could be better.

Cheers
Michael

(file #7332)
    _______________________________________________________

Additional Item Attachment:

File name: relaxGUI.tar.gz                Size:381 KB


    _______________________________________________________

Reply to this item at:

  <http://gna.org/task/?6847>

_______________________________________________
  Nachricht geschickt von/durch Gna!
  http://gna.org/


_______________________________________________
relax (http://nmr-relax.com)

This is the relax-devel mailing list
relax-devel@xxxxxxx

To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-devel

--
Sébastien Morin
PhD Student
S. Gagné NMR Laboratory
Université Laval & PROTEO
Québec, Canada







Related Messages


Powered by MHonArc, Updated Thu Nov 19 06:00:18 2009