mailRe: [bug #10189] latex_mf_table.py: undefined variable


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

Header


Content

Posted by Edward d'Auvergne on October 25, 2007 - 10:06:
Hi,

Yep, that is a definite bug.  The variable 'res' has not been defined
anywhere in that script!!!  I don't know how that got through.  I'll
just remove that 'res' reference, but leave the newline, so that
deselected spins will just have the residue name and number printed,
but nothing else.  I think that's what I originally had planned.

Regards,

Edward


On 10/23/07, anonymous <NO-REPLY.INVALID-ADDRESS@xxxxxxx> wrote:

URL:
  <http://gna.org/bugs/?10189>

                 Summary: latex_mf_table.py: undefined variable
                 Project: relax
            Submitted by: None
            Submitted on: Tuesday 10/23/2007 at 20:58 CEST
                Category: relax's source code
                Severity: 2 - Minor
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: doug
        Originator Email:
             Open/Closed: Open
         Discussion Lock: Any
                 Release: Other (missing version)
        Operating System: None

    _______________________________________________________

Details:

The following error is reported for the latex_mf_table.py file in the sample
scripts directory.

Traceback (most recent call last):
  File "/usr/local/bin/relax", line 454, in ?
    Relax()
  File "/usr/local/bin/relax", line 166, in __init__
    self.interpreter.run()
  File "/opt/relax/1.2/prompt/interpreter.py", line 213, in run
    run_script(intro=self.relax.intro_string, local=self.local,
script_file=self.relax.script_file, quit=1)
  File "/opt/relax/1.2/prompt/interpreter.py", line 388, in run_script
    console.interact(intro, local, script_file, quit)
  File "/opt/relax/1.2/prompt/interpreter.py", line 340, in interact_script
    execfile(script_file, local)
  File "latex_mf_table.py", line 193, in ?
    Latex(self.relax)
  File "latex_mf_table.py", line 41, in __init__
    self.table_body()
  File "latex_mf_table.py", line 150, in table_body
    self.file.write(res + "\\\n")
NameError: global name 'res' is not defined





    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?10189>

_______________________________________________
  Message sent via/by 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 Thu Oct 25 10:20:45 2007