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 Edward d'Auvergne on December 03, 2009 - 13:17:
Hi,

Unfortunately my subversion version is too old for me to read the
contents of this file
(https://gna.org/support/download.php?file_id=7431).  I would suggest
copying and pasting the output of:

$ svn st -q

and also attaching the file 'patch':

$ svn diff > patch

This will allow me to update the relax repository with your code
changes, and to better review the changes line by line (a normal part
of open source development).  The important part is the preservation
of code history.  For example if fileA.py is split into fileA.py,
fileB.py, and fileC.py, and fileD.py is deleted, then a relax
developer has to issue the following commands:

$ svn cp fileA.py fileB.py
$ svn cp fileA.py fileC.py
$ svn rm fileD.py
$ svn ci

The last command needs a commit message which you will need to write.
This is part of learning how to be a developer in a collaborative open
source project, as you will be required to write commit messages once
you are a developer.  Then after that (or maybe before the 'svn ci'
command), the code changes need to be applied:

$ patch -p0 < patch

with your 'patch' file.  This will require a commit message, as
described in chapter 9 of the relax manual.  The links between files
is quite important, as is the commit messages to keep track of the
code.  Note that there will probably be discussions over the contents,
structure, and design of the patch before it is applied.

Cheers,

Edward




2009/12/2 Michael Bieri <NO-REPLY.INVALID-ADDRESS@xxxxxxx>:

Follow-up Comment #6, task #6847 (project relax):

Hi

Currently, I am rewriting the relaxGUI to implement into relax. The main 
file
is split into several small files to have a better overview of what is
happening.

I have another problem while implementing the gui into relax. I get an error
message after the command:

minimise.grid_search(inc=11, constraints=True, verbosity=1)

This happens when executing local_tm calculation.

the message:

Traceback (most recent call last):
 File "/home/michael/Programme/relax_bieri_gui/gui_bieri/relax_gui.py", line
2775, in exec_model_free
   start_model_free(self, which_model, False, global_setting, file_setting,
sequencefile)
 File
"/home/michael/Programme/relax_bieri_gui/gui_bieri/res/calc_model_free.py",
line 711, in start_model_free
   Model()
 File
"/home/michael/Programme/relax_bieri_gui/gui_bieri/res/calc_model_free.py",
line 250, in __init__
   self.multi_model(local_tm=True)
 File
"/home/michael/Programme/relax_bieri_gui/gui_bieri/res/calc_model_free.py",
line 699, in multi_model
   minimise.grid_search(inc=GRID_INC, constraints=True, verbosity=1)
 File "/home/michael/Programme/relax_bieri_gui/generic_fns/minimise.py",
line 108, in grid_search
   grid_search(lower=lower, upper=upper, inc=inc, constraints=constraints,
verbosity=verbosity)
 File
"/home/michael/Programme/relax_bieri_gui/specific_fns/model_free/mf_minimise.py",
line 1174, in grid_search
   self.minimise(min_algor='grid', lower=lower, upper=upper, inc=inc,
constraints=constraints, verbosity=verbosity, sim_index=sim_index)
 File
"/home/michael/Programme/relax_bieri_gui/specific_fns/model_free/mf_minimise.py",
line 1259, in minimise
   model_type = self._determine_model_type()
 File
"/home/michael/Programme/relax_bieri_gui/specific_fns/model_free/main.py",
line 719, in _determine_model_type
   if cdp.diff_tensor.fixed:
AttributeError: 'PipeContainer' object has no attribute 'diff_tensor'


I don't see the problem at the moment...

Cheers
Michael


(file #7431)
   _______________________________________________________

Additional Item Attachment:

File name: gui_bieri.tar.gz               Size:805 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




Related Messages


Powered by MHonArc, Updated Wed Dec 09 07:00:11 2009