File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -1990,7 +1990,8 @@ def search_for_instances(
19901990 dataset = Dataset ()
19911991 for key in row .keys ():
19921992 if not key .startswith ('_' ):
1993- setattr (dataset , key , row [key ])
1993+ value = row [key ]
1994+ setattr (dataset , key , value )
19941995
19951996 if all_instances :
19961997 n_series_in_study = self ._count_series_in_study (
Original file line number Diff line number Diff line change 11from pathlib import Path
22
33import pytest
4+ from pydicom import config as pydicom_config
45from pydicom .data .data_manager import DATA_ROOT
56
67from dicomweb_client .cli import _get_parser
78from dicomweb_client .api import DICOMwebClient
89from dicomweb_client .file import DICOMfileClient
910
1011
12+ pydicom_config .settings .reading_validation_mode = pydicom_config .WARN
13+ pydicom_config .settings .writing_validation_mode = pydicom_config .WARN
14+
15+
1116@pytest .fixture
1217def parser ():
1318 '''Instance of `argparse.Argparser`.'''
You can’t perform that action at this time.
0 commit comments