From 5a0aceb5481ee9f4dbfed1b5e7a12d004a9a30f1 Mon Sep 17 00:00:00 2001 From: Chenying Zhao Date: Wed, 15 Nov 2023 16:43:06 -0500 Subject: [PATCH] add --allow-empty --- babs/babs.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/babs/babs.py b/babs/babs.py index f9719fe1..5912308c 100644 --- a/babs/babs.py +++ b/babs/babs.py @@ -379,7 +379,8 @@ def babs_bootstrap(self, input_ds, proc_git_commit_amend = subprocess.run( ["git", "commit", "--amend", "-m", "Register input data dataset '" + input_ds.df["name"][i_ds] - + "' as a subdataset"], + + "' as a subdataset", + "--allow-empty"], cwd=self.analysis_path, stdout=subprocess.PIPE )