Skip to content

Commit

Permalink
Estival version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
dshipman committed Sep 11, 2023
1 parent e2e1250 commit 70d0c98
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion autumn/infrastructure/remote/springboard/task.py
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,12 @@ def __init__(
def download(self, remote_path, recursive=False):
full_remote = self.remote._ensure_full_path(remote_path)
rel_path = full_remote.relative_to(self.remote_path)
return self.fs.get(str(full_remote), str(self.local.path / rel_path), recursive=recursive)

full_local = self.local.path / rel_path
if full_local.exists() and full_local.is_dir():
full_local = self.local.path

return self.fs.get(str(full_remote), str(full_local), recursive=recursive)

def download_all(self):
return self.download(None, recursive=True)
Expand Down
2 changes: 1 addition & 1 deletion requirements/requirements310.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
summerepi==3.6.4
summerepi2==1.2.9

estival==0.4.2b0
estival==0.4.3

# Jax for Windows (summer2 requirement)
# Linux/OSX already installed via computegraph
Expand Down

0 comments on commit 70d0c98

Please sign in to comment.