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

Open hdf files in read mode if read-only is set #202

Conversation

mschwoer
Copy link
Contributor

fixes #180

@mschwoer mschwoer requested review from GeorgWa and jalew188 July 17, 2024 11:01
@jalew188
Copy link
Collaborator

Let's check if this is a breaking change for hdf-based mmap @sophiamaedler

@jalew188 jalew188 requested a review from sophiamaedler July 17, 2024 13:48
Copy link
Collaborator

@GeorgWa GeorgWa left a comment

Choose a reason for hiding this comment

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

LGTM, but more work to do in this module.

alphabase/io/hdf.py Show resolved Hide resolved
@jalew188
Copy link
Collaborator

MB it is better to re-design this module in a more readable way. We can still use setattr, but it must be implemented by a well named method.

@mschwoer
Copy link
Contributor Author

MB it is better to re-design this module in a more readable way. We can still use setattr, but it must be implemented by a well named method.

definitely this module should be refactored, but this is beyond the scope of this change

@jalew188
Copy link
Collaborator

jalew188 commented Aug 4, 2024

MB it is better to re-design this module in a more readable way. We can still use setattr, but it must be implemented by a well named method.

definitely this module should be refactored, but this is beyond the scope of this change

Lets keep the cur version like this then.

@mschwoer mschwoer merged commit f9f4341 into development Aug 7, 2024
2 checks passed
@mschwoer mschwoer deleted the 180-race-condition-when-reading-speclib-from-two-instances branch August 7, 2024 07:06
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