Skip to content

Commit

Permalink
fix: duplicate formats in input (#146)
Browse files Browse the repository at this point in the history
fixed duplicate formats in input
  • Loading branch information
DeltaDaniel authored Sep 3, 2024
1 parent 71c6cf3 commit cb58f12
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/migmose/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ def main(
"💡 UTILMD is not available for format versions 2310 and above. Parse UTILMDS and UTILMDG instead."
)
message_format.remove(EdifactFormat.UTILMD)
message_format.extend([EdifactFormat.UTILMDG, EdifactFormat.UTILMDS])
message_format.extend([EdifactFormat.UTILMDG, EdifactFormat.UTILMDS, EdifactFormat.UTILMDW])
message_format = list(set(message_format))
dict_files = find_file_to_format(message_format, edi_energy_mirror_path, format_version)
for m_format, file in dict_files.items():
output_dir_for_format = output_dir / format_version / m_format
Expand Down

0 comments on commit cb58f12

Please sign in to comment.