URL: <http://gna.org/bugs/?17361> Summary: Failure of reading relax 1.2.x results files when simulation data is present. Project: relax Submitted by: bugman Submitted on: Mon 20 Dec 2010 01:08:39 PM GMT Category: relax's source code Severity: 3 - Normal Priority: 5 - Normal Status: None Privacy: Public Assigned to: bugman Originator Name: Originator Email: Open/Closed: Open Discussion Lock: Any Release: Repository: 1.3 line Operating System: All systems _______________________________________________________ Details: = Description = The reading of version 1.2.x results files by 1.3.x relax versions fails when Monte Carlo simulation data is present. = Error message = relax> pipe.create(pipe_name='orig', pipe_type='mf') relax> results.read(file='trunc.bz2', dir=None) Opening the file 'trunc.bz2' for reading. relax 1.2 model-free results file. Generating the sequence. Setting the diffusion tensor. Diffusion type: ellipsoid RelaxWarning: The PDB file 1G68_plus_H.pdb.pdb cannot be found, no structures will be loaded. Loading simulations. sim_0 {} Traceback (most recent call last): File "/data/relax/relax-1.3/relax", line 358, in <module> Relax() File "/data/relax/relax-1.3/relax", line 126, in __init__ self.interpreter.run(self.script_file) File "/data/relax/relax-1.3/prompt/interpreter.py", line 293, in run return run_script(intro=self.__intro_string, local=locals(), script_file=script_file, quit=self.__quit_flag, show_script=self.__show_script, raise_relax_error=self.__raise_relax_error) File "/data/relax/relax-1.3/prompt/interpreter.py", line 595, in run_script return console.interact(intro, local, script_file, quit, show_script=show_script, raise_relax_error=raise_relax_error) File "/data/relax/relax-1.3/prompt/interpreter.py", line 481, in interact_script exec_script(script_file, local) File "/data/relax/relax-1.3/prompt/interpreter.py", line 372, in exec_script runpy.run_module(module, globals) File "/usr/lib64/python2.6/runpy.py", line 140, in run_module fname, loader, pkg_name) File "/usr/lib64/python2.6/runpy.py", line 34, in _run_code exec code in run_globals File "/media/disk/relax/sebastian/for_Edward/PSE-4/relax_gui/run1/comparison/comp.py", line 4, in <module> results.read ('trunc.bz2') File "/data/relax/relax-1.3/prompt/results.py", line 88, in read results.read(file=file, directory=dir) File "/data/relax/relax-1.3/generic_fns/results.py", line 113, in read read_function(file_data) File "/data/relax/relax-1.3/specific_fns/model_free/results.py", line 1079, in read_columnar_results self._read_1_2_results(file_data, verbosity) File "/data/relax/relax-1.3/specific_fns/model_free/results.py", line 726, in _read_1_2_results self._load_model_free_data(file_line, col, data_set, spin, spin_id, verbosity) File "/data/relax/relax-1.3/specific_fns/model_free/results.py", line 492, in _load_model_free_data cdp.chi2_sim.append(eval(spin_line[col['chi2']])) AttributeError: 'dict' object has no attribute 'append' _______________________________________________________ Reply to this item at: <http://gna.org/bugs/?17361> _______________________________________________ Message sent via/by Gna! http://gna.org/