Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,8 @@ 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
|
|
|
12 |
return swith
|
13 |
|
14 |
def MatchLOINCPanelsandForms(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 |
|
15 |
def MatchLOINCPanelsandForms(name):
|