Skip to content

Commit

Permalink
Updated makedirs
Browse files Browse the repository at this point in the history
  • Loading branch information
Hjorthmedh committed Dec 9, 2024
1 parent e211923 commit addbbdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snudda/input/input_tuning.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit addbbdf

Please sign in to comment.