You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately, there are simulation codes whose input files are not portable (e.g. because they require the absolute path to some data directory... no idea why).
For such cases, the current hash function will not work on CI since even when the data directory is provided, the absolute path to it will differ.
One might argue that it is really the simulation code that should be rewritten here, but unfortunately that is not always an option.
For such cases, it would be useful to be able to pass a custom hash function to the mock_code_factory fixture.
The text was updated successfully, but these errors were encountered:
This has been addressed by @chrisjsewell in a different way in #65 (alternative hasher class is implemented in the test script and loaded dynamically by the mock executable via importlib).
Unfortunately, there are simulation codes whose input files are not portable (e.g. because they require the absolute path to some data directory... no idea why).
For such cases, the current hash function will not work on CI since even when the data directory is provided, the absolute path to it will differ.
One might argue that it is really the simulation code that should be rewritten here, but unfortunately that is not always an option.
For such cases, it would be useful to be able to pass a custom hash function to the
mock_code_factory
fixture.The text was updated successfully, but these errors were encountered: