From e8961dc8f804cbade4a3e1c32a89624a6714086c Mon Sep 17 00:00:00 2001 From: Vladislav Tsendrovskii Date: Sat, 27 Dec 2025 14:28:09 +0100 Subject: [PATCH 1/2] Pass files which not in shift.json during shift --- src/vstarstack/tool/shift.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/vstarstack/tool/shift.py b/src/vstarstack/tool/shift.py index 93a81bd..7372bea 100644 --- a/src/vstarstack/tool/shift.py +++ b/src/vstarstack/tool/shift.py @@ -125,8 +125,12 @@ def apply_shift(project: vstarstack.tool.cfg.Project, argv: list[str]): images = vstarstack.tool.common.listfiles(npy_dir, ".zip") - args = [(name, filename, shifts[name], os.path.join(shifted_dir, name + ".zip"), interpolate if name in shifts else None) - for name, filename in images] + args = [] + for name, filename in images: + if name not in shifts: + continue + args.append((name, filename, shifts[name], os.path.join(shifted_dir, name + ".zip"), interpolate)) + with mp.Pool(ncpu) as pool: pool.starmap(_make_shift_same_size, args) From 9c307649a35f85d900b0ea7edf809f41321e49fd Mon Sep 17 00:00:00 2001 From: Vladislav Tsendrovskii Date: Sat, 27 Dec 2025 14:29:35 +0100 Subject: [PATCH 2/2] Bump version --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index afe356e..eece430 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "py_build_cmake.build" [project] name = "vstarstack" -version = "0.3.7.10" +version = "0.3.7.11" requires-python = ">=3.10" authors = [{name="Vladislav Tsendrovskii", email="vtcendrovskii@gmail.com"}] description = 'Stacking astrophotos'