URL: <http://gna.org/bugs/?7891> Summary: The heteronuc data structure does not exist after reading reading model-free results files. Project: relax Submitted by: bugman Submitted on: Thursday 11/30/2006 at 09:45 Category: relax's source code Severity: 3 - Normal Priority: 5 - Normal Status: None Privacy: Public Assigned to: None Originator Name: Originator Email: Open/Closed: Open Discussion Lock: Any Release: Repository: 1.2 line Operating System: All systems _______________________________________________________ Details: When running the 'modsel.py' script with the data attached to bug #7755 (https://gna.org/bugs/?7755), I get the following error: relax> results.write(run='aic', file='results', dir='aic', force=1, format='columnar', compress_type=1) Opening the file 'aic/results.bz2' for writing. Traceback (most recent call last): File "/mnt/removable/relax/relax-1.3/relax", line 454, in ? Relax() File "/mnt/removable/relax/relax-1.3/relax", line 166, in __init__ self.interpreter.run() File "/mnt/removable/relax/relax-1.3/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 "/mnt/removable/relax/relax-1.3/prompt/interpreter.py", line 391, in run_script console.interact(intro, local, script_file, quit) File "/mnt/removable/relax/relax-1.3/prompt/interpreter.py", line 343, in interact_script execfile(script_file, local) File "modsel.py", line 29, in ? results.write(run='aic', file='results', force=1) File "/mnt/removable/relax/relax-1.3/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 "/mnt/removable/relax/relax-1.3/generic_fns/results.py", line 166, in write self.write_function(results_file, run) File "/mnt/removable/relax/relax-1.3/specific_fns/model_free.py", line 4850, in write_columnar_results self.write_columnar_line(file=file, num=data.num, name=data.name, select=data.select, data_set='value', nucleus=nucleus, model=model, equation=equation, params=params, param_set=self.param_set, s2=s2, s2f=s2f, s2s=s2s, local_tm=local_tm, te=te, tf=tf, ts=ts, rex=rex, r=r, csa=csa, chi2=chi2, i=iter, f=f, g=g, h=h, warn=warn, diff_type=diff_type, diff_params=diff_params, pdb=pdb, pdb_model=pdb_model, pdb_heteronuc=data.heteronuc, pdb_proton=data.proton, xh_vect=xh_vect, ri_labels=ri_labels, remap_table=remap_table, frq_labels=frq_labels, frq=frq, ri=ri, ri_error=ri_error) AttributeError: Element instance has no attribute 'heteronuc' _______________________________________________________ Reply to this item at: <http://gna.org/bugs/?7891> _______________________________________________ Message sent via/by Gna! http://gna.org/