diff --git a/CHANGELOG.md b/CHANGELOG.md index 19dbbb0c..7546f680 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 @@ -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 diff --git a/latch_cli/services/cp/ldata_utils.py b/latch_cli/services/cp/ldata_utils.py index 5215d7ec..6a291e64 100644 --- a/latch_cli/services/cp/ldata_utils.py +++ b/latch_cli/services/cp/ldata_utils.py @@ -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"])