Upload app.py with huggingface_hub
Browse files
app.py
CHANGED
|
@@ -1012,8 +1012,11 @@ def patient_history(chart_no):
|
|
| 1012 |
comp1 = Comp(dates1, antigens1, pra1) if dates1 else None
|
| 1013 |
comp2 = Comp(dates2, antigens2, pra2) if dates2 else None
|
| 1014 |
|
|
|
|
|
|
|
| 1015 |
return render_template('patient.html', patient=patient, reports=reports,
|
| 1016 |
-
comparison_class1=comp1, comparison_class2=comp2
|
|
|
|
| 1017 |
|
| 1018 |
|
| 1019 |
@app.route('/cloud_sync', methods=['POST'])
|
|
|
|
| 1012 |
comp1 = Comp(dates1, antigens1, pra1) if dates1 else None
|
| 1013 |
comp2 = Comp(dates2, antigens2, pra2) if dates2 else None
|
| 1014 |
|
| 1015 |
+
donor_hla = db.get_donor_hla(chart_no)
|
| 1016 |
+
|
| 1017 |
return render_template('patient.html', patient=patient, reports=reports,
|
| 1018 |
+
comparison_class1=comp1, comparison_class2=comp2,
|
| 1019 |
+
donor_hla=donor_hla)
|
| 1020 |
|
| 1021 |
|
| 1022 |
@app.route('/cloud_sync', methods=['POST'])
|