Skip to content

Failed to call the on_read_trigger method: get_dataset_title #930

Description

@yuanzhou

Noticed this bug on DEV

[2025-09-30 18:23:27] INFO in schema_triggers: Executing 'get_dataset_title()' trigger method on uuid: 4c66a26432cc1a510914ea0fc085bf77
[2025-09-30 18:23:27] INFO in schema_neo4j_queries: ======get_dataset_donor_organs_info() ds_donors_organs_query======
[2025-09-30 18:23:27] ERROR in schema_manager: Failed to call the on_read_trigger method: get_dataset_title
Traceback (most recent call last):
  File "/usr/src/app/src/./schema/schema_manager.py", line 512, in generate_triggered_data
    target_key, target_value = trigger_method_to_call(key, normalized_class, request, user_token, existing_data_dict, new_data_dict)
  File "/usr/src/app/src/./schema/schema_triggers.py", line 1159, in get_dataset_title
    for donor_organ_data in donor_organs_list:
TypeError: 'NoneType' object is not iterable

Activity

  1. self-assigned this
    on Sep 30, 2025
  2. yuanzhou commented on Sep 30, 2025

    @yuanzhou
    MemberAuthor

    Addressed via #929

  3. moved this from Backlog to In Progress in Pitt HIVEon Sep 30, 2025
  4. yuanzhou commented on Sep 30, 2025

    @yuanzhou
    MemberAuthor

    Now https://entity-api.dev.hubmapconsortium.org/entities/16d9ffb49ad54fed796c47a985360de1 returns

    "title": "PhenoCycler data from 0 organs of 0 different donors"
    
  5. moved this from In Progress to Review/QA in Pitt HIVEon Oct 2, 2025
  6. moved this from Review/QA to Done in Pitt HIVEon Oct 14, 2025
  7. moved this from Done to Keep in Pitt HIVEon Oct 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions