Skip to content

Commit 50e7ac6

Browse files
committed
Merge branch '138-feature-citation-reminder' of github.com:BrainLesion/preprocessing into 138-feature-citation-reminder
2 parents 3201785 + 56cfd1e commit 50e7ac6

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

brainles_preprocessing/utils/citation_reminder.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,16 @@
77

88

99
def citation_reminder(func):
10-
"""Decorator to remind users to cite brainles-preprocessing."""
10+
"""
11+
Decorator to remind users to cite brainles-preprocessing.
12+
13+
The reminder is shown when the environment variable
14+
`BRAINLES_PREPROCESSING_CITATION_REMINDER` is set to "true" (default).
15+
To disable the reminder, set the environment variable to "false".
16+
17+
Environment variable used:
18+
- BRAINLES_PREPROCESSING_CITATION_REMINDER: Controls whether the reminder is shown.
19+
"""
1120

1221
@functools.wraps(func)
1322
def wrapper(*args, **kwargs):

0 commit comments

Comments
 (0)