This PR fixes a small oversight in the mqt.core.load method, where the method would not work if being passed a PathLike object that is not a string (e.g., a Path).
The changes in the PR make sure that such an object is appropriately converted to a string before being passed to the constructor.
Checklist:
[x] The pull request only contains commits that are related to it.
[x] I have added appropriate tests and documentation.
[x] I have made sure that all CI jobs on GitHub pass.
[x] The pull request introduces no new warnings and follows the project's style guidelines.
Description
This PR fixes a small oversight in the
mqt.core.load
method, where the method would not work if being passed aPathLike
object that is not a string (e.g., aPath
). The changes in the PR make sure that such an object is appropriately converted to a string before being passed to the constructor.Checklist: