From addbbdf1364628305c55712aefa15d4e9dc7afbb Mon Sep 17 00:00:00 2001 From: Johannes Hjorth Date: Mon, 9 Dec 2024 08:03:30 +0100 Subject: [PATCH] Updated makedirs --- snudda/input/input_tuning.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snudda/input/input_tuning.py b/snudda/input/input_tuning.py index 1f156a67b..e5e067ec9 100644 --- a/snudda/input/input_tuning.py +++ b/snudda/input/input_tuning.py @@ -894,7 +894,7 @@ def plot_depolarisation_blocked_neurons(self, freq_bin=10): f"{full_morph_key}-{full_param_key}-{neuron_type}-BAD-trace.png") if not os.path.exists(os.path.dirname(fig_path)): - os.mkdir(os.path.dirname(fig_path)) + os.makedirs(os.path.dirname(fig_path)) plt.savefig(fig_path, dpi=300)