diff --git a/Database/APR/RootStorageSvc/scripts/checkMetadata.py b/Database/AthenaPOOL/AthenaPoolUtilities/python/checkMetadata.py similarity index 99% rename from Database/APR/RootStorageSvc/scripts/checkMetadata.py rename to Database/AthenaPOOL/AthenaPoolUtilities/python/checkMetadata.py index 5cc66a3ea0d71e70c19e207402c1b84e7a5e63c6..e0f43706246d724a2d2150f27595bd6aafbbd76c 100755 --- a/Database/APR/RootStorageSvc/scripts/checkMetadata.py +++ b/Database/AthenaPOOL/AthenaPoolUtilities/python/checkMetadata.py @@ -119,7 +119,7 @@ def validateInputMetadata(infile): if ( "data_year" in tag_info and isinstance(tag_info["data_year"], list) - and set(tag_info["data_year"]) > 1 + and len(set(tag_info["data_year"])) > 1 ): logging.error("/TagInfo contains values from different data taking periods") return 1