Skip to content

Commit e9c0fc1

Browse files
committed
Fixing Flake8 complaint which happened on GitHub pull request check
Signed-off-by: M Q <[email protected]>
1 parent 587f7aa commit e9c0fc1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

monai/deploy/operators/dicom_data_loader_operator.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -437,10 +437,10 @@ def test():
437437
print(f" 'SeriesDescription': {ds.SeriesDescription if ds.SeriesDescription else ''}")
438438
print(
439439
" 'IssuerOfPatientID':"
440-
f" {ds.get('IssuerOfPatientID', '').repval if ds.get('IssuerOfPatientID', '') else '' }"
440+
f" {ds.get('IssuerOfPatientID', '').repval if ds.get('IssuerOfPatientID', '') else ''}"
441441
)
442442
try:
443-
print(f" 'IssuerOfPatientID': {ds.IssuerOfPatientID if ds.IssuerOfPatientID else '' }")
443+
print(f" 'IssuerOfPatientID': {ds.IssuerOfPatientID if ds.IssuerOfPatientID else ''}")
444444
except AttributeError:
445445
print(
446446
" If the IssuerOfPatientID does not exist, ds.IssuerOfPatientID would throw AttributeError."

0 commit comments

Comments
 (0)