diff --git a/reduction_tools/stream_stats.py b/reduction_tools/stream_stats.py index 2fedc4b..1c062f1 100644 --- a/reduction_tools/stream_stats.py +++ b/reduction_tools/stream_stats.py @@ -52,7 +52,7 @@ def scrub_res( stream ): # example - diffraction_resolution_limit = 4.07 nm^-1 or 2.46 A # scrub res_lst or return np.nan try: - pattern = r"diffraction_resolution_limit\s=\s\d\.\d+\snm\^-1\sor\s(\d\.\d+)\sA" + pattern = r"diffraction_resolution_limit\s=\s\d\.\d+\snm\^-1\sor\s(\d+\.\d+)\sA" res_lst = re.findall( pattern, stream ) if AttributeError: return res_lst