Skip to content

Commit

Permalink
Fix a bug: missing second param in scp
Browse files Browse the repository at this point in the history
  • Loading branch information
bmarcote committed Dec 19, 2022
1 parent c12df61 commit bb25a83
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions evn_postprocess/experiment.py
Original file line number Diff line number Diff line change
Expand Up @@ -990,7 +990,7 @@ def keyfile(self):
keyfilepath = self.cwd / f"{self.expname.lower()}.key"
if not keyfilepath.exists():
env.scp(f"[email protected]: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 [email protected]:vlbi_arch/" \
f"{self.obsdatetime.strftime('%b%y').lower()}/{self.expname.lower()}" + r"\*" + ".key .")

Expand All @@ -1004,7 +1004,7 @@ def sumfile(self):
keyfilepath = self.cwd / f"{self.expname.lower()}.sum"
if not keyfilepath.exists():
env.scp(f"[email protected]: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 [email protected]:vlbi_arch/" \
f"{self.obsdatetime.strftime('%b%y').lower()}/{self.expname.lower()}" + r"\*" + ".sum .")

Expand Down

0 comments on commit bb25a83

Please sign in to comment.