GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Ignore mypy errors for TypedDict extra_items · heffernane/clinicaio@954421d

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • src/clinicaio
    • image.py
    • session.py
    • subject.py
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎src/clinicaio/image.py‎

Copy file name to clipboardExpand all lines: src/clinicaio/image.py
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,8 @@ def get_image_companion_path(self, extension: FileExtension) -> Path:
160160
return self._get_image_base_full_path().with_suffix(f".{extension}")
161161

162162

163-
class ImageScanInfo(TypedDict, extra_items=Any):
163+
# FIXME: https://github.com/python/mypy/issues/18176
164+
class ImageScanInfo(TypedDict, extra_items=Any): # type: ignore
164165
"""
165166
`BIDS specification <https://bids-specification.readthedocs.io/en/stable/modality-agnostic-files/data-summary-files.html#scans-file>`__
166167
"""
Collapse file

‎src/clinicaio/session.py‎

Copy file name to clipboardExpand all lines: src/clinicaio/session.py
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,8 @@ def is_duplicated_image(img: Image) -> bool:
368368

369369

370370
# Populated from sub-<label>/sub-<label>_sessions.tsv
371-
class SessionInfo(TypedDict, extra_items=Any):
371+
# FIXME: https://github.com/python/mypy/issues/18176
372+
class SessionInfo(TypedDict, extra_items=Any): # type: ignore
372373
"""
373374
`BIDS specification <https://bids-specification.readthedocs.io/en/stable/modality-agnostic-files/data-summary-files.html#sessions-file>`__
374375
"""
Collapse file

‎src/clinicaio/subject.py‎

Copy file name to clipboardExpand all lines: src/clinicaio/subject.py
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,8 @@ def _populate_sessions_from_folder(
277277

278278

279279
# Populated from participants.tsv from root of dataset
280-
class SubjectInfo(TypedDict, extra_items=Any):
280+
# FIXME: https://github.com/python/mypy/issues/18176
281+
class SubjectInfo(TypedDict, extra_items=Any): # type: ignore
281282
"""
282283
`BIDS specification <https://bids-specification.readthedocs.io/en/stable/modality-agnostic-files/data-summary-files.html#participants-file>`__
283284
"""

0 commit comments

Comments
0 (0)
You are visitor 01402860 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.