Skip to content

Commit

Permalink
file dir
Browse files Browse the repository at this point in the history
  • Loading branch information
blleng committed Sep 11, 2024
1 parent bb7b499 commit f6544ee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/convert_emd/drawing.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ def convert_emd(file_name, data, output_type, scale_bar, sb_color, sb_x_start, s
if is_complex:
idata = [frame["data"].real, frame["data"].imag]
title_attr = title_attr + "/"
if not os.path.exists(output_dir + title + title_attr):
os.makedirs(output_dir + title + title_attr)
else: idata = [frame["data"]]

for j in range(len(idata)):
Expand Down

0 comments on commit f6544ee

Please sign in to comment.