Skip to content

Commit

Permalink
Remove convert_str_literal() call, since new_data_dict already has Py…
Browse files Browse the repository at this point in the history
…thon data structures converted from request JSON.
  • Loading branch information
kburke committed Mar 13, 2024
1 parent 8964787 commit c5aebe4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/schema/schema_validators.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit c5aebe4

Please sign in to comment.