Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Oct 29, 2024
1 parent a8b936e commit f1addc7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/diffpy/pdfmorph/pdfmorph_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,9 @@ def get_multisave_names(target_list: list, save_names_file=None, mm=False):
for target_file in target_list:
if target_file.name not in save_names.keys():
if not mm:
save_names.update({target_file.name: {__save_morph_as__: f"Morph_with_Target_{target_file.stem}.cgr"}})
save_names.update(
{target_file.name: {__save_morph_as__: f"Morph_with_Target_{target_file.stem}.cgr"}}
)
else:
save_names.update({target_file.name: {__save_morph_as__: f"Morph_of_{target_file.stem}.cgr"}})
return save_names
Expand Down

0 comments on commit f1addc7

Please sign in to comment.