From c5aebe4286e7a6be451729c6ff7d2f8808e47035 Mon Sep 17 00:00:00 2001 From: kburke Date: Wed, 13 Mar 2024 15:13:26 -0400 Subject: [PATCH] Remove convert_str_literal() call, since new_data_dict already has Python data structures converted from request JSON. --- src/schema/schema_validators.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/schema/schema_validators.py b/src/schema/schema_validators.py index 65348aed..4d13543e 100644 --- a/src/schema/schema_validators.py +++ b/src/schema/schema_validators.py @@ -682,8 +682,7 @@ def verify_multi_assay_dataset_components(property_key, normalized_type, user_to f" {new_data_dict['new_associated_multi_assay_uuid']}" f" does not exist.") if 'superseded_associated_processed_component_uuids' in new_data_dict: - proposedComponentsList = schema_manager.convert_str_literal(new_data_dict['superseded_associated_processed_component_uuids']) - for uuid in proposedComponentsList: + for uuid in new_data_dict['superseded_associated_processed_component_uuids']: proposedComponentDataset = schema_neo4j_queries.get_entity( schema_manager.get_neo4j_driver_instance() , uuid) if len(proposedComponentDataset) < 1: