We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4eb5e9 commit 84a0cfaCopy full SHA for 84a0cfa
heudiconv/dicoms.py
@@ -537,7 +537,7 @@ def get_datetime_from_dcm(dcm_data: dcm.FileDataset) -> Optional[datetime.dateti
537
538
"""
539
540
- def check_tag(x):
+ def check_tag(x: str) -> bool:
541
return x in dcm_data and dcm_data[x].value.strip()
542
543
if check_tag("AcquisitionDate") and check_tag("AcquisitionTime"):
0 commit comments