Author: tlinnet
Date: Sat Dec 6 10:51:38 2014
New Revision: 26970
URL: http://svn.gna.org/viewcvs/relax?rev=26970&view=rev
Log:
In pipe_control.spectrum.error_analysis_per_field() removed the checks which
would stop the calculation of the errors.
This function will now always run, which will make it possible for the user to
try different error calculations.
Modified:
trunk/pipe_control/spectrum.py
Modified: trunk/pipe_control/spectrum.py
URL:
http://svn.gna.org/viewcvs/relax/trunk/pipe_control/spectrum.py?rev=26970&r1=26969&r2=26970&view=diff
==============================================================================
--- trunk/pipe_control/spectrum.py (original)
+++ trunk/pipe_control/spectrum.py Sat Dec 6 10:51:38 2014
@@ -443,25 +443,6 @@
# Printout.
section(file=sys.stdout, text="Automatic Error analysis per field
strength", prespace=2)
-
- # Check if intensity errors have already been calculated by the user.
- precalc = True
- for spin in spin_loop(skip_desel=True):
- # No structure.
- if not hasattr(spin, 'peak_intensity_err'):
- precalc = False
- break
-
- # Determine if a spectrum ID is missing from the list.
- for id in cdp.spectrum_ids:
- if id not in spin.peak_intensity_err:
- precalc = False
- break
-
- # Skip.
- if precalc:
- print("Skipping the error analysis as it has already been performed.")
- return
# Handle missing frequency data.
frqs = [None]
_______________________________________________
relax (http://www.nmr-relax.com)
This is the relax-commits mailing list
[email protected]
To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-commits