Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a method to change the data storage base path for on-disk backends #323

Merged
merged 8 commits into from
May 22, 2024

Conversation

jorainer
Copy link
Member

On-disk backends depend on the (original) data files being available. Moving/copying serialized Spectra objects with such backends between file systems or moving the original data files will break their functionality.

This PR adds a new method to the MsBackend, dataStorageBasePath() and dataStorageBasePath<- to get or set the base path to the directory of the data storage files for on-disk backends (issue #321 ).

@jorainer jorainer requested review from philouail and lgatto May 17, 2024 11:01
Copy link
Collaborator

@philouail philouail left a comment

Choose a reason for hiding this comment

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

It looks all good to me and I did not get problems with windows system.

Thanks super helpful !!

@jorainer jorainer merged commit 16bb472 into main May 22, 2024
4 of 6 checks passed
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