URL: <http://gna.org/bugs/?10323> Summary: jw_mapping.py: Element instance has no attribute 'num_ri' Project: relax Submitted by: None Submitted on: Tuesday 11/13/2007 at 21:52 CET Category: relax's source code Severity: 4 - Important Priority: 5 - Normal Status: None Privacy: Public Assigned to: None Originator Name: doug Originator Email: Open/Closed: Open Discussion Lock: Any Release: Repository: 1.2 line Operating System: None _______________________________________________________ Details: SVN 3357 The following error occurs when I try to run the jw_mapping.py script: relax> results.write(run='jw', file='results', dir='jw', force=1, format='columnar', compress_type=1) Opening the file 'jw/results.bz2' for writing. 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 "jw_mapping.py", line 46, in ? results.write(run=name, file='results', force=1) File "/opt/relax/1.2/prompt/results.py", line 201, in write self.__relax__.generic.results.write(run=run, file=file, directory=dir, force=force, format=format, compress_type=compress_type) File "/opt/relax/1.2/generic_fns/results.py", line 166, in write self.write_function(results_file, run) File "/opt/relax/1.2/specific_fns/jw_mapping.py", line 661, in write_columnar_results for j in xrange(data.num_ri): AttributeError: Element instance has no attribute 'num_ri' _______________________________________________________ Reply to this item at: <http://gna.org/bugs/?10323> _______________________________________________ Message sent via/by Gna! http://gna.org/