From bb25a835bc8432077161d1c5303ff2b4d6746a6d Mon Sep 17 00:00:00 2001 From: bmarcote Date: Mon, 19 Dec 2022 11:46:04 +0100 Subject: [PATCH] Fix a bug: missing second param in scp --- evn_postprocess/experiment.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/evn_postprocess/experiment.py b/evn_postprocess/experiment.py index b91d51a..9167e4a 100644 --- a/evn_postprocess/experiment.py +++ b/evn_postprocess/experiment.py @@ -990,7 +990,7 @@ def keyfile(self): keyfilepath = self.cwd / f"{self.expname.lower()}.key" if not keyfilepath.exists(): env.scp(f"evn@vlbeer.ira.inaf.it:vlbi_arch/" \ - f"{self.obsdatetime.strftime('%b%y').lower()}/{self.expname.lower()}" + r"\*" + ".key .") + f"{self.obsdatetime.strftime('%b%y').lower()}/{self.expname.lower()}" + r"\*" + ".key", ".") self.log(f"scp evn@vlbeer.ira.inaf.it:vlbi_arch/" \ f"{self.obsdatetime.strftime('%b%y').lower()}/{self.expname.lower()}" + r"\*" + ".key .") @@ -1004,7 +1004,7 @@ def sumfile(self): keyfilepath = self.cwd / f"{self.expname.lower()}.sum" if not keyfilepath.exists(): env.scp(f"evn@vlbeer.ira.inaf.it:vlbi_arch/" \ - f"{self.obsdatetime.strftime('%b%y').lower()}/{self.expname.lower()}" + r"\*" + ".sum .") + f"{self.obsdatetime.strftime('%b%y').lower()}/{self.expname.lower()}" + r"\*" + ".sum", ".") self.log(f"scp evn@vlbeer.ira.inaf.it:vlbi_arch/" \ f"{self.obsdatetime.strftime('%b%y').lower()}/{self.expname.lower()}" + r"\*" + ".sum .")