Use default hdf5 file locking
Open
Nobody has claimed this yet.
essreduce
- Dominant language
- Python
- Stars
- 1
- Forks
- 3
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 17
Description
See https://git.esss.dk/dmsc-nightly/dmsc-nightly/-/issues/57
The part of code that handles the lock when opening nexus files (mainly https://github.com/scipp/essreduce/blob/main/src/ess/reduce/nexus/_nexus_loader.py#L240) should be able to go away.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Read the linked issue 57 first, then inspect src/ess/reduce/nexus/_nexus_loader.py around line 240, where locking is handled when opening NeXus files. Confirm that default HDF5 file locking can be used, remove the obsolete locking code, and verify that NeXus file opening still works.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- data
- Issue type
- Refactor
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100