awacke1 commited on
Commit
01a65c5
·
1 Parent(s): 8587a88

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ def MatchLOINC(name):
8
  import pandas as pd
9
  basedir = os.path.dirname(__file__)
10
  data = pd.read_csv(f'LoincTableCore.csv') # LOINC Download https://loinc.org/downloads/
11
- swith=data.loc[df['COMPONENT'].str.contains(name, case=False)]
12
  #swith = data[data['COMPONENT'].str.match(name)]
13
  return swith
14
 
 
8
  import pandas as pd
9
  basedir = os.path.dirname(__file__)
10
  data = pd.read_csv(f'LoincTableCore.csv') # LOINC Download https://loinc.org/downloads/
11
+ swith=data.loc[data['COMPONENT'].str.contains(name, case=False)]
12
  #swith = data[data['COMPONENT'].str.match(name)]
13
  return swith
14