Skip to content

feat: run Julia make_data files in witch_translate_data (0.7.0) - #29

Merged
lolow merged 2 commits into
masterfrom
feat/make-data-julia
Oct 20, 2026
Merged

lolow merged 2 commits into
masterfrom
feat/make-data-julia

Conversation

@lolow

@lolow lolow commented Oct 20, 2026 •

Copy link
Copy Markdown
Member

Summary

  • witch_translate_data() now also runs input/make_data_*.jl (after the R files, before the GAMS files) with julia --project=input, after instantiating that project. These files take the same -i, -w, -m, --noCheck options as the R scripts and write input/build/data_*.gdx. Same mtime-based skip logic as make_data_R.
  • Fails early with a clear message if .jl files exist but julia is not in the PATH.
  • Drop the call to the deprecated gdxtools::igdx() and require gdxtools >= 1.2.0.
  • Bump to 0.7.0 with a NEWS entry.

Depends on lolow/gdxtools#24 (gdxtools 1.2.0). Part of the WITCH migration of the R make_data scripts to Julia (witch branch feat/make-data-julia).

Test plan

  • testthat::test_local('.'): 399 passed, 0 failed
  • End-to-end Rscript input/translate_witch_data.R on the WITCH branch once the Julia ports land

🤖 Generated with Claude Code

lolow and others added 2 commits October 20, 2026 16:53
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@lolow
lolow merged commit 7306b8f into master Oct 20, 2026
0 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant