Author: bugman Date: Sun Jan 11 13:57:26 2009 New Revision: 8375 URL: http://svn.gna.org/viewcvs/relax?rev=8375&view=rev Log: A RelaxError is now raised if the specific_fns BMRB methods do not exist. Modified: branches/bmrb/generic_fns/bmrb.py Modified: branches/bmrb/generic_fns/bmrb.py URL: http://svn.gna.org/viewcvs/relax/branches/bmrb/generic_fns/bmrb.py?rev=8375&r1=8374&r2=8375&view=diff ============================================================================== --- branches/bmrb/generic_fns/bmrb.py (original) +++ branches/bmrb/generic_fns/bmrb.py Sun Jan 11 13:57:26 2009 @@ -62,7 +62,7 @@ file = open_read_file(file_name=file, dir=directory) # Specific results reading function. - read_function = get_specific_fn('bmrb_read', ds[ds.current_pipe].pipe_type, raise_error=False) + read_function = get_specific_fn('bmrb_read', ds[ds.current_pipe].pipe_type) # Read the results. read_function(file) @@ -80,7 +80,7 @@ directory = ds.current_pipe # Specific results writing function. - write_function = get_specific_fn('bmrb_write', ds[ds.current_pipe].pipe_type, raise_error=False) + write_function = get_specific_fn('bmrb_write', ds[ds.current_pipe].pipe_type) # Open the file for writing. results_file = open_write_file(file_name=file, dir=directory, force=force, compress_type=compress_type, verbosity=verbosity)