Skip to content

fix relative path from_dir + cache test exposure files#273

Open
vinulw wants to merge 7 commits into
mainfrom
fix/oed-dir
Open

fix relative path from_dir + cache test exposure files#273
vinulw wants to merge 7 commits into
mainfrom
fix/oed-dir

Conversation

@vinulw

@vinulw vinulw commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

fix/relative --oed-dir option

  • fixed relative setting for oed exposure files

Additional:

  • Testing: Cache piwind exposure files in temporary directory once and use for all tests
    • local speedup tests/test_ods_package.py::OdsPackageTests 33.26s --> 11.91s (2.8x speedup)

@vinulw vinulw linked an issue Jun 12, 2026 that may be closed by this pull request
@vinulw vinulw self-assigned this Jun 12, 2026
vinulw added 5 commits June 12, 2026 17:29
TODO:
- fix the stream tests and others which uses urllib.open
- add a test to check the --oed-dir works with relative + absolute file
  paths
@vinulw

vinulw commented Jun 15, 2026

Copy link
Copy Markdown
Contributor Author

Note the platform integration error is not from this PR. Fix implemented on the Platform side in OasisLMF/OasisPlatform#1403

@vinulw vinulw marked this pull request as ready for review June 15, 2026 14:33
@vinulw vinulw requested a review from sambles June 15, 2026 15:26
@vinulw vinulw changed the title fix relative path from_dir fix relative path from_dir + cache test exposure files Jun 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

--oed-dir arg does not work with relative paths

2 participants