Skip to content

Commit

Permalink
fail gracefully if source path does not exist
Browse files Browse the repository at this point in the history
Signed-off-by: Ayush Kamat <[email protected]>
  • Loading branch information
ayushkamat committed Oct 24, 2023
1 parent 745bb2d commit d76a4d8
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
15 changes: 11 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ Types of changes

# Latch SDK Changelog

## 2.36.1 - 2023-10-24

### Changed

* `latch mv` now supports glob patterns (with the same restrictions as `latch cp`)

## 2.36.0 - 2023-10-23

### Added
Expand Down Expand Up @@ -52,17 +58,18 @@ temporary because they are deleted at the end of each job on Latch.
### Fixed

* Snakemake:
* Better errors if `Snakefile` or `latch_metadata.py` file missing
* Correct issues with snakemake example project
- Better errors if `Snakefile` or `latch_metadata.py` file missing
- Correct issues with snakemake example project

## 2.32.7 - 2023-09-07

### Fixed

* Snakemake:
* `--snakemake` for `latch dockerfile` command to generate `Dockerfile` with
- `--snakemake` for `latch dockerfile` command to generate `Dockerfile` with
necessary instructions
* Snakemake example for `latch init`

- Snakemake example for `latch init`

## 2.32.6 - 2023-09-07

Expand Down
3 changes: 3 additions & 0 deletions latch_cli/services/cp/ldata_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,9 @@ def _get_immediate_children_of_node(path: str) -> List[str]:
{"argPath": path},
)["ldataResolvePathData"]

if lrpd is None:
return []

res: List[str] = []
for node in lrpd["childLdataTreeEdges"]["nodes"]:
res.append(node["child"]["name"])
Expand Down

0 comments on commit d76a4d8

Please sign in to comment.