From 0df9ec8000befec36dd85b7ff078ce66603e36a5 Mon Sep 17 00:00:00 2001 From: William Moore Date: Thu, 6 Oct 2022 11:47:58 +0100 Subject: [PATCH] bulk.yml depth is passed to xargs This will override any --depth=NNN passed on the command line --- src/omero/plugins/import.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/omero/plugins/import.py b/src/omero/plugins/import.py index 04555bcbc..b18e738a8 100644 --- a/src/omero/plugins/import.py +++ b/src/omero/plugins/import.py @@ -672,6 +672,8 @@ def bulk_import(self, command_args, xargs): mode = "w" else: mode = "a" + if command_args.depth: + xargs.append("-Domero.import.depth=%s" % command_args.depth) self.do_import(command_args, xargs, mode=mode) if self.ctx.rv: failed += 1