Skip to content

Commit

Permalink
more cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mandawilson committed Jan 13, 2025
1 parent 4b2ff6d commit e6b7f03
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions scripts/validate_new_tree_and_output_rdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,12 @@ def display_possible_id_changes(removed_internal_ids,

if not diff['values_changed']: # do we care about anything besides values_changed?
found_id_change_with_no_data_change = True
original_pretty_label = construct_pretty_label_for_row(original_data[graphite.CSV_INTERNAL_ID], original_data[graphite.CSV_ONCOTREE_CODE], original_data[graphite.CSV_LABEL])
modified_pretty_label = construct_pretty_label_for_row(modified_data[graphite.CSV_INTERNAL_ID], modified_data[graphite.CSV_ONCOTREE_CODE], modified_data[graphite.CSV_LABEL])
original_pretty_label = construct_pretty_label_for_row(original_data[graphite.CSV_INTERNAL_ID],
original_data[graphite.CSV_ONCOTREE_CODE],
original_data[graphite.CSV_LABEL])
modified_pretty_label = construct_pretty_label_for_row(modified_data[graphite.CSV_INTERNAL_ID],
modified_data[graphite.CSV_ONCOTREE_CODE],
modified_data[graphite.CSV_LABEL])
# what changes really are important? probably not color for example
changed_ids.add(f"\t'{original_pretty_label}' -> '{modified_pretty_label}'")
if changed_ids:
Expand Down

0 comments on commit e6b7f03

Please sign in to comment.