From 9752cc890083ebe128a030fdeb2b056bed6a0fc9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=20Kr=C3=BCger?= Date: Wed, 25 Nov 2020 20:05:06 +0100 Subject: [PATCH] implemented "include" for batch files --- al2/batch.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/al2/batch.py b/al2/batch.py index 50968c1..23bc65f 100644 --- a/al2/batch.py +++ b/al2/batch.py @@ -35,4 +35,8 @@ def __load_batch_obj(batch_obj): paths.extend(__load_batch_obj(batch)) + if "include" in batch_obj: + for batch_file in batch_obj["include"]: + paths.extend(load(pl.Path(instance_dir, batch_file))) + return paths