Skip to content

Commit

Permalink
FIX: noqa
Browse files Browse the repository at this point in the history
  • Loading branch information
larsoner committed Sep 20, 2024
1 parent 1636bae commit 51a60f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mnefun/_fix.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def fix_eeg_channels(raw_files, anon=None, verbose=True):
anon = anon.copy()
if (
isinstance(raw.info["subject_info"].get("birthday"), datetime.date)
and isinstance(anon.get("birthday"), tuple)
and isinstance(anon.get("birthday"), tuple) # noqa
):
anon["birthday"] = datetime.date(*anon["birthday"])
anon['birthday'] = raw.info["subject_info"]["birthday"]
Expand Down

0 comments on commit 51a60f4

Please sign in to comment.