mailRe: Formating issues in the 1.3 line


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

Header


Content

Posted by Sébastien Morin on July 10, 2007 - 17:08:
Hi again !

Here is a patch solving indentation issues in the 1.3 line code (revision 
3338).

Ciao !


Sébastien  :)




Selon Sébastien Morin <sebastien.morin.1@xxxxxxxxx>, 10.07.2007:

Hi,

Here is a patch for trailing whitespaces in the code for the 1.3 line
(revision
3338).

This should fix all formating issues of this kind for the entire code...

Ciao


Séb  :)






Selon Edward d'Auvergne <edward.dauvergne@xxxxxxxxx>, 09.07.2007:

Thanks.  Please try to keep different types of changes separate
though.  All the changes so far are whitespace related so I can commit
the patch as fixing whitespace formatting in the 1.3 line.  If there
are other changes, these should go as separate commits into the relax
repository.  That way I can decide if the whitespace commit will be
back ported to the 1.2 line (which isn't really necessary) or if other
changes in individual commits should be back ported (some probably
will while others may not).

Cheers,

Edward


On 7/9/07, Sebastien Morin <sebastien.morin.1@xxxxxxxxx> wrote:
Hi Ed !

I will send a single large patch tomorrow when I have corrected more
code...

Bye


Séb



Edward d'Auvergne wrote:
Hi,

These minor formatting changes do need to made to the repository.
Would you still have all the changes in your checked out copy Séb?  If
you could send a single patch of all the changes, it will be much
easier for me to apply.  That would be much appreciated.

Thanks,

Edward


On 7/9/07, Sébastien Morin <sebastien.morin.1@xxxxxxxxx> wrote:
Hi all,

Here are a few patches solving fomating issues in the 1.3 line
(revision 3324).

patch_sample_scripts_palmer              ->  sample_scripts/palmer.py

patch_test_suite_runner                  ->
sample_scripts/relax_curve_diff.py

patch_sample_scripts_relax_curve_diff    ->  sample_scripts/remap.py

patch_test_suite_system_tests_jw_mapping ->  test_suite/formatting.py

patch_sample_scripts_remap               ->  test_suite/runner.py

patch_test_suite_system_tests_main       ->
test_suite/system_tests/jw_mapping.py

patch_test_suite_formatting              ->
test_suite/system_tests/main.py

patch_test_suite_system_tests_model_free ->
test_suite/system_tests/model_free.py


These are low importance changes but nevertheless the work needs to
be done.

Cheers.


Séb :)
_______________________________________________
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





--
         ______________________________________
     _______________________________________________
    |                                               |
   || Sebastien Morin                               ||
  ||| Etudiant au PhD en biochimie                  |||
 |||| Laboratoire de resonance magnetique nucleaire ||||
||||| Dr Stephane Gagne                             |||||
 |||| CREFSIP (Universite Laval, Quebec, CANADA)    ||||
  ||| 1-418-656-2131 #4530                          |||
   ||                                               ||
    |_______________________________________________|
         ______________________________________









------------------------
Sébastien Morin
Étudiant M.Sc. Biochimie
Laboratoire S. Gagné
3252 Pav. Marchand (Université Laval)
Tél : (418) 656-2131 #4530
Fax : (418) 656-7176
e-mail : sebastien.morin.1@xxxxxxxxx



------------------------
Sébastien Morin
Étudiant M.Sc. Biochimie
Laboratoire S. Gagné
3252 Pav. Marchand (Université Laval)
Tél : (418) 656-2131 #4530
Fax : (418) 656-7176
e-mail : sebastien.morin.1@xxxxxxxxx
Index: test_suite/system_tests/model_free.py
===================================================================
--- test_suite/system_tests/model_free.py       (revision 3338)
+++ test_suite/system_tests/model_free.py       (working copy)
@@ -63,7 +63,7 @@
             # The test.
             self.test = self.set_csa
 
-         # Test of setting the CSA and the bond length.
+        # Test of setting the CSA and the bond length.
         if test_name == 'set csa and bond length':
             # The name of the test.
             self.name = "Setting both the CSA value and bond length through 
the user function value.set()"
@@ -71,7 +71,7 @@
             # The test.
             self.test = self.set_csa_bond_length
 
-       # Test of selecting model-free model m4.
+        # Test of selecting model-free model m4.
         if test_name == 'select m4':
             # The name of the test.
             self.name = "Selecting model m4 with parameters {S2, te, Rex} 
using model_free.select_model()"
Index: float.py
===================================================================
--- float.py    (revision 3338)
+++ float.py    (working copy)
@@ -152,19 +152,19 @@
     
     # check finite 
     if isFinite(float):
-         # check and store is positive
-         positive = isPositive(float)
-         if isZero(float):
+        # check and store is positive
+        positive = isPositive(float)
+        if isZero(float):
             if positive:
                 result = CLASS_POS_ZERO
             else:
                 result = CLASS_NEG_ZERO
-         elif isDenormalised(float):
+        elif isDenormalised(float):
             if positive:
                 result = CLASS_POS_DENORMAL
             else:
                 result = CLASS_NEG_DENORMAL
-         else:
+        else:
             if positive:
                 result  = CLASS_POS_NORMAL
             else:

Related Messages


Powered by MHonArc, Updated Mon Jul 16 18:20:32 2007