DiamondLightSource / DiamondLightSource/python-murfey
CrYOLO model path caching means changes are not detected during collection
- Dominant language
- Python
- Stars
- 2
- Forks
- 1
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 19
Description
Need to find a way to cache the call (https://github.com/DiamondLightSource/python-murfey/blob/a5e1fa5465023fa8c123e9b9d9d742c4de48b05f/src/murfey/util/processing_params.py#L38) most of the time but clear the cache when needed
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reading src/murfey/util/processing_params.py around line 38 and trace how the CrYOLO model path is read during collection. Determine when the cached call must be invalidated so model-path changes are detected while the usual calls remain cached; done means collection observes changed paths without unnecessary repeated work.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100