Author: bugman Date: Thu Jun 21 22:18:14 2012 New Revision: 17020 URL: http://svn.gna.org/viewcvs/relax?rev=17020&view=rev Log: Removed a hack from the generic_fns.relax_data.pack_data() function for the BMRB support. This calls the generic_fns.bmrb.generate_sequence() function! As non-BMRB code paths access the pack_data() function, this is a nasty hack which would have caused problems in the future. Modified: trunk/generic_fns/relax_data.py Modified: trunk/generic_fns/relax_data.py URL: http://svn.gna.org/viewcvs/relax/trunk/generic_fns/relax_data.py?rev=17020&r1=17019&r2=17020&view=diff ============================================================================== --- trunk/generic_fns/relax_data.py (original) +++ trunk/generic_fns/relax_data.py Thu Jun 21 22:18:14 2012 @@ -816,10 +816,6 @@ cdp.ri_ids.append(ri_id) cdp.ri_type[ri_id] = ri_type cdp.frq[ri_id] = frq - - # Generate the sequence. - if gen_seq: - bmrb.generate_sequence(N, spin_ids=spin_ids, spin_nums=spin_nums, spin_names=spin_names, res_nums=res_nums, res_names=res_names, mol_names=mol_names) # Loop over the spin data. for i in range(N):