Skip to content

Commit

Permalink
Update prob2label.py
Browse files Browse the repository at this point in the history
  • Loading branch information
bill-baumgartner committed Apr 28, 2024
1 parent 675934c commit c3df09b
Showing 1 changed file with 12 additions and 15 deletions.
27 changes: 12 additions & 15 deletions scripts/prob2label.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,18 @@
# labels[0]="ameliorates"
# labels[1]="associated_with"
labels[0]="associated_with_resistance_to"
labels[1]="associated_with_sensitivity_to"
labels[2]="decreases_risk_for"
labels[3]="exacerbates"
labels[4]="exposure_is_origin_of"
labels[5]="has_excessive_amount_in"
labels[6]="has_no_effect_on"
labels[7]="increases_risk_for"
labels[8]="is_biomarker_for"
labels[9]="is_contraindicated_for"
labels[10]="is_deficient_in"
labels[11]="prevents"
labels[12]="results_in_side_effect"
labels[13]="treats"
labels[14]="used_in_diagnosis_of"
labels[15]="other"
labels[1]="decreases_risk_for"
labels[2]="exacerbates"
labels[3]="exposure_is_origin_of"
labels[4]="has_excessive_amount_in"
labels[5]="increases_risk_for"
labels[6]="is_biomarker_for"
labels[7]="is_contraindicated_for"
labels[8]="is_deficient_in"
labels[9]="prevents"
labels[10]="results_in_side_effect"
labels[11]="treats"
labels[12]="other"
elif model_key == 'bl_chemical_to_gene':
labels[0]="positively_regulates"
labels[1]="negatively_regulates"
Expand Down

0 comments on commit c3df09b

Please sign in to comment.