We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea139b5 commit 74174d1Copy full SHA for 74174d1
1 file changed
iglu_python/mag.py
@@ -8,7 +8,7 @@
8
9
def mag(
10
data: Union[pd.DataFrame, pd.Series],
11
- n: int|None = None, # to match a new IGLU-R behavior
+ n: int | None = None, # to match a new IGLU-R behavior
12
dt0: Optional[int] = None,
13
inter_gap: int = 45,
14
tz: str = "",
@@ -88,10 +88,11 @@ def mag(
88
89
def mag_single(
90
gl: pd.Series,
91
92
93
94
- tz: str = "") -> float:
+ tz: str = "",
95
+) -> float:
96
"""Calculate MAG for a single subject"""
97
# Convert data to day-by-day format
98
data_ip = CGMS2DayByDay(gl, dt0=dt0, inter_gap=inter_gap, tz=tz)
0 commit comments