From 51b19612742dbb2238cf0cd20db1a6c18f7fc6d0 Mon Sep 17 00:00:00 2001 From: Christian Ludwig Date: Fri, 22 Dec 2023 00:31:24 +0000 Subject: [PATCH] update --- metabolabpy/nmr/acqPars.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/metabolabpy/nmr/acqPars.py b/metabolabpy/nmr/acqPars.py index 35c2f03..bc67e8a 100644 --- a/metabolabpy/nmr/acqPars.py +++ b/metabolabpy/nmr/acqPars.py @@ -134,37 +134,37 @@ def parse_reg_ex(self): try: self.sfo2 = float(self.reg_ex.sfo2.findall(self.acqus_text)[0]) except: - self.sfo1 = float(self.reg_ex.sfo2i.findall(self.acqus_text)[0]) + self.sfo2 = float(self.reg_ex.sfo2i.findall(self.acqus_text)[0]) try: self.sfo3 = float(self.reg_ex.sfo3.findall(self.acqus_text)[0]) except: - self.sfo1 = float(self.reg_ex.sfo3i.findall(self.acqus_text)[0]) + self.sfo3 = float(self.reg_ex.sfo3i.findall(self.acqus_text)[0]) try: self.sfo4 = float(self.reg_ex.sfo4.findall(self.acqus_text)[0]) except: - self.sfo1 = float(self.reg_ex.sfo4i.findall(self.acqus_text)[0]) + self.sfo4 = float(self.reg_ex.sfo4i.findall(self.acqus_text)[0]) try: self.sfo5 = float(self.reg_ex.sfo5.findall(self.acqus_text)[0]) except: - self.sfo1 = float(self.reg_ex.sfo5i.findall(self.acqus_text)[0]) + self.sfo5 = float(self.reg_ex.sfo5i.findall(self.acqus_text)[0]) try: self.sfo6 = float(self.reg_ex.sfo6.findall(self.acqus_text)[0]) except: - self.sfo1 = float(self.reg_ex.sfo6i.findall(self.acqus_text)[0]) + self.sfo6 = float(self.reg_ex.sfo6i.findall(self.acqus_text)[0]) try: self.sfo7 = float(self.reg_ex.sfo7.findall(self.acqus_text)[0]) except: - self.sfo1 = float(self.reg_ex.sfo7i.findall(self.acqus_text)[0]) + self.sfo7 = float(self.reg_ex.sfo7i.findall(self.acqus_text)[0]) try: self.sfo8 = float(self.reg_ex.sfo8.findall(self.acqus_text)[0]) except: - self.sfo1 = float(self.reg_ex.sfo8i.findall(self.acqus_text)[0]) + self.sfo8 = float(self.reg_ex.sfo8i.findall(self.acqus_text)[0]) self.bf1 = float(self.reg_ex.bf1.findall(self.acqus_text)[0]) self.bf2 = float(self.reg_ex.bf2.findall(self.acqus_text)[0])