Hi,
I've committed a fix to this problem. Because I can't check if this
code functions myself, there are likely to be a few other bugs lying
in there.
Cheers,
Edward
On Sun, Apr 13, 2008 at 11:16 PM, Sébastien Morin
<NO-REPLY.INVALID-ADDRESS@xxxxxxx> wrote:
>
Follow-up Comment #4, bug #11483 (project relax):
>
> Hi,
>
> I tested if the bug was still present.
>
> However, I can't tell if the bug is fixed, since there is a new problem
> caused by the fix...
>
> For any model (I tested with all 5 model : m1, m2, m3, m4, m5), I get
the
> following :
>
> ============================================
> relax> palmer.extract(run='m1', dir=None)
>
> Traceback (most recent call last):
> File "/home/semor/pse-4/collaborations/relax/relax-1.2/relax", line
454, in
> ?
> Relax()
> File "/home/semor/pse-4/collaborations/relax/relax-1.2/relax", line
166, in
>
> __init__
> self.interpreter.run()
> File
>
"/home/semor/pse-4/collaborations/relax/relax-1.2/prompt/interpreter.py",
>
> line 216, in run
> run_script(intro=self.relax.intro_string, local=self.local,
> script_file=self.relax.script_file, quit=1)
> File
>
"/home/semor/pse-4/collaborations/relax/relax-1.2/prompt/interpreter.py",
>
> line 391, in run_script
> console.interact(intro, local, script_file, quit)
> File
>
"/home/semor/pse-4/collaborations/relax/relax-1.2/prompt/interpreter.py",
>
> line 343, in interact_script
> execfile(script_file, local)
> File "./palmer__stage_2.py", line 142, in ?
> exec_stage_2(runs)
> File "./palmer__stage_2.py", line 76, in exec_stage_2
> palmer.extract(run=name)
> File
"/home/semor/pse-4/collaborations/relax/relax-1.2/prompt/palmer.py",
>
> line 263, in extract
> self.__relax__.generic.palmer.extract(run=run, dir=dir)
> File
>
"/home/semor/pse-4/collaborations/relax/relax-1.2/generic_fns/palmer.py",
> line 543, in extract
> data.s2, data.s2_err = self.get_mf_data(self.mfout_S2_pos + pos)
> File
>
"/home/semor/pse-4/collaborations/relax/relax-1.2/generic_fns/palmer.py",
> line 614, in get_mf_data
> if search('*', val) or search('*', err):
> File "/usr/lib/python2.4/sre.py", line 134, in search
> return _compile(pattern, flags).search(string)
> File "/usr/lib/python2.4/sre.py", line 227, in _compile
> raise error, v # invalid expression
> sre_constants.error: nothing to repeat
> ============================================
>
> This problem is new and apparently caused by the fix proposed.
>
> If I comment out lines 613 to 621 in "generic_fns/palmer.py", everything
> passes, so the fix for this bug is fine, and the fix for the "*"
character
> bug makes relax crash.
>
>
>
> _______________________________________________________
>
> Reply to this item at:
>
> <http://gna.org/bugs/?11483>
>
> _______________________________________________
> 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
>