Skip to content

Conversation

@syntron
Copy link
Contributor

@syntron syntron commented Aug 12, 2025

  • use as input str or os.PathLike; the later covers all pathlib objects
  • rename _tempdir to _work_dir
  • rename setTempDirectory() => setWorkDirectory()
  • setWorkDirectory() sets the work dir and also returns its path
  • use setWorkDirectory() within code; this allows to add special handling to the function if needed

Copy link
Member

@adeas31 adeas31 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

* use as input str or os.PathLike; the later covers all pathlib objects
* rename _tempdir to _work_dir
* rename setTempDirectory() => setWorkDirectory()
* setWorkDirectory() sets the work dir and also returns its path
* use setWorkDirectory() within code; this allows to add special handling
  to the function if needed
@syntron syntron force-pushed the ModelicaSystem_workdir branch from 26e73f6 to 3c45338 Compare August 19, 2025 17:59
@adeas31 adeas31 enabled auto-merge (squash) August 20, 2025 09:59
@adeas31 adeas31 merged commit 7616030 into OpenModelica:master Aug 20, 2025
8 of 9 checks passed
@syntron syntron deleted the ModelicaSystem_workdir branch August 20, 2025 17:32
@syntron syntron mentioned this pull request Sep 28, 2025
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.

2 participants