Author: bugman Date: Sat Jul 5 00:47:40 2008 New Revision: 6706 URL: http://svn.gna.org/viewcvs/relax?rev=6706&view=rev Log: Fix for the main write_pdb() method. Now the file object is sent into the specific write_pdb() method rather than the file path string. Modified: branches/rdc_analysis/generic_fns/structure/main.py Modified: branches/rdc_analysis/generic_fns/structure/main.py URL: http://svn.gna.org/viewcvs/relax/branches/rdc_analysis/generic_fns/structure/main.py?rev=6706&r1=6705&r2=6706&view=diff ============================================================================== --- branches/rdc_analysis/generic_fns/structure/main.py (original) +++ branches/rdc_analysis/generic_fns/structure/main.py Sat Jul 5 00:47:40 2008 @@ -348,4 +348,4 @@ file = open_write_file(file_path, force=force) # Write the structures. - cdp.structure.write_pdb(file_path, struct_index=struct_index) + cdp.structure.write_pdb(file, struct_index=struct_index)