Skip to content

Commit

Permalink
change
Browse files Browse the repository at this point in the history
  • Loading branch information
fang19911030 committed Nov 20, 2024
1 parent 14193ff commit 22f5188
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flepimop/gempyor_pkg/src/gempyor/file_paths.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,9 +217,9 @@ def create_file_name_for_push(
the appropriate file extension (either "csv" or "parquet").
"""
type_list = ["seir", "hosp", "llik", "spar", "snpi", "hnpi", "hpar", "init", "seed"]
extension_map = {type_name: "csv" if type_name == "seed" else "parquet" for type_name in type_list}
name_list = []
for type_name in type_list:
extension = "csv" if type_name == "seed" else "parquet"
for type_name, extension in extension_map.items():
file_name = create_file_name(
run_id=flepi_run_index,
prefix=prefix,
Expand Down

0 comments on commit 22f5188

Please sign in to comment.