DmitrMakeev commited on
Commit
d94d3cc
·
verified ·
1 Parent(s): 57db443

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -994,8 +994,8 @@ def handle_calculation():
994
  'Mg': data['profileSettings']['Mg'],
995
  'Ca': data['profileSettings']['Ca'],
996
  'S': data['profileSettings']['S'],
997
- 'N (NO3-)': data['profileSettings']['N (NO3-)'],
998
- 'N (NH4+)': data['profileSettings']['N (NH4+)']
999
  }
1000
 
1001
  calculator.fertilizers = data['fertilizerConstants']
 
994
  'Mg': data['profileSettings']['Mg'],
995
  'Ca': data['profileSettings']['Ca'],
996
  'S': data['profileSettings']['S'],
997
+ NO3_RATIO: data['profileSettings']['N (NO3-)'],
998
+ NH4_RATIO: data['profileSettings']['N (NH4+)']
999
  }
1000
 
1001
  calculator.fertilizers = data['fertilizerConstants']