Skip to content

Revert "Update backend selection logic"#42

Merged
olivhoenen merged 1 commit intoiterorganization:developfrom
maarten-ic:revert/backend-selection
May 2, 2025
Merged

Revert "Update backend selection logic"#42
olivhoenen merged 1 commit intoiterorganization:developfrom
maarten-ic:revert/backend-selection

Conversation

@maarten-ic
Copy link
Collaborator

@maarten-ic maarten-ic commented May 2, 2025

This reverts commit 33e6b7e.

Updated backend selection logic can lead to unexpected situations when making a typo in the URI, for example:

with imas.DBEntry("imas;hdf5?path=xyz", "w") as entry:
    entry.put(ids)

Will now happily create a netCDF file imas;hdf5?path=xyz with the develop branch. Changing this logic back will raise an exception by imas_core.

Loading
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.

3 participants