Author: bugman Date: Mon May 19 16:54:19 2014 New Revision: 23243 URL: http://svn.gna.org/viewcvs/relax?rev=23243&view=rev Log: Modification of the structure loading part of the CaM frame order data generation base script. The structures are now only loaded if the DIST_PDB flag is set, as they are only used for generating the 3D distribution of structures. This saves a lot of time and computer memory. Modified: branches/frame_order_cleanup/test_suite/shared_data/frame_order/cam/generate_base.py Modified: branches/frame_order_cleanup/test_suite/shared_data/frame_order/cam/generate_base.py URL: http://svn.gna.org/viewcvs/relax/branches/frame_order_cleanup/test_suite/shared_data/frame_order/cam/generate_base.py?rev=23243&r1=23242&r2=23243&view=diff ============================================================================== --- branches/frame_order_cleanup/test_suite/shared_data/frame_order/cam/generate_base.py (original) +++ branches/frame_order_cleanup/test_suite/shared_data/frame_order/cam/generate_base.py Mon May 19 16:54:19 2014 @@ -196,9 +196,10 @@ # Printout. sys.stdout.write("\n\nRotating %s states:\n\n" % self.N) - # Load N copies of the original C-domain. - for global_index, mode_indices in self._state_loop(): - self.interpreter.structure.read_pdb('1J7P_1st_NH.pdb', dir=self.path, set_mol_name='C-dom', set_model_num=global_index+1) + # Load N copies of the original C-domain for the distribution. + if self.DIST_PDB: + for global_index, mode_indices in self._state_loop(): + self.interpreter.structure.read_pdb('1J7P_1st_NH.pdb', dir=self.path, set_mol_name='C-dom', set_model_num=global_index+1) # Turn off the relax interpreter echoing to allow the progress meter to be shown correctly. self.interpreter.off()