Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rename result files from *.mfres.jld2 to *.iesopt.result.jld2 #5

Merged
merged 1 commit into from
Jun 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/results/jld2.jl
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@
# TODO: support multiple results (from MOA)

# Make sure the path is valid.
filepath = normpath(_iesopt_config(model).paths.results, "$(_iesopt_config(model).names.scenario).mfres.jld2")
filepath =

Check warning on line 65 in src/results/jld2.jl

View check run for this annotation

Codecov / codecov/patch

src/results/jld2.jl#L65

Added line #L65 was not covered by tests
normpath(_iesopt_config(model).paths.results, "$(_iesopt_config(model).names.scenario).iesopt.result.jld2")
mkpath(dirname(filepath))

# Write results.
Expand Down
2 changes: 1 addition & 1 deletion src/utils/packing.jl
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
elseif endswith(filename, ".iesopt.param.yaml")
push!(files, relpath(normpath(root, filename), root_path))
push!(info["files"]["parameters"], relpath(normpath(root, filename), root_path))
elseif endswith(filename, ".mfres.jld2") && include_results
elseif endswith(filename, ".iesopt.result.jld2") && include_results

Check warning on line 84 in src/utils/packing.jl

View check run for this annotation

Codecov / codecov/patch

src/utils/packing.jl#L84

Added line #L84 was not covered by tests
push!(files, relpath(normpath(root, filename), root_path))
push!(info["files"]["results"], relpath(normpath(root, filename), root_path))
else
Expand Down