<commit_before>sitk_add_python_test( Example.DicomImagePrintTags
  "${CMAKE_CURRENT_SOURCE_DIR}/DicomImagePrintTags.py"
    DATA{${SimpleITK_DATA_ROOT}/Input/DicomSeries/Image0075.dcm}
  )
set_tests_properties( Python.Example.DicomImagePrintTags
  PROPERTIES PASS_REGULAR_EXPRESSION "\\(0008|0060\\) = = \"MR\"")

sitk_add_r_test( Example.DicomImagePrintTags
  "--file=${CMAKE_CURRENT_SOURCE_DIR}/DicomImagePrintTags.R"
  --args
    DATA{${SimpleITK_DATA_ROOT}/Input/DicomSeries/Image0075.dcm}
  )<commit_msg>Only add test property when language is enabled.<commit_after>sitk_add_python_test( Example.DicomImagePrintTags
  "${CMAKE_CURRENT_SOURCE_DIR}/DicomImagePrintTags.py"
    DATA{${SimpleITK_DATA_ROOT}/Input/DicomSeries/Image0075.dcm}
  )
if( WRAP_PYTHON )
  set_tests_properties( Python.Example.DicomImagePrintTags
    PROPERTIES PASS_REGULAR_EXPRESSION "\\(0008|0060\\) = = \"MR\"")
endif()

sitk_add_r_test( Example.DicomImagePrintTags
  "--file=${CMAKE_CURRENT_SOURCE_DIR}/DicomImagePrintTags.R"
  --args
    DATA{${SimpleITK_DATA_ROOT}/Input/DicomSeries/Image0075.dcm}
  )
if(WRAP_R)
  set_tests_properties( R.Example.DicomImagePrintTags
    PROPERTIES PASS_REGULAR_EXPRESSION "\\(0008|0060\\) = = \"MR\"")
endif()
{'fraction_non_alphanumeric': 0.12897959183673469, 'fraction_numerical': 0.0326530612244898, 'mean_word_length': 6.169590643274854, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7139264', 'n_tokens_mistral': 507, 'n_tokens_neox': 466, 'n_words': 48}