Skip to content

Commit e5310ef

Browse files
Copilotypriverol
andcommitted
Clarify docstring for get_unimod_database testing usage
Co-authored-by: ypriverol <[email protected]>
1 parent 2deda03 commit e5310ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

quantmsutils/diann/dianncfg.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ def get_unimod_database():
2525
Get the UnimodDatabase instance, creating it lazily on first access.
2626
2727
This pattern improves testability by avoiding database initialization at module
28-
import time and allows the database to be refreshed if needed by setting
29-
_unimod_database to None.
28+
import time. For testing purposes, the internal _unimod_database variable can be
29+
set to None to force re-initialization on the next call.
3030
3131
:return: The UnimodDatabase instance.
3232
"""

0 commit comments

Comments
 (0)