diff --git a/genomics-apps/PGxScreening.py b/genomics-apps/PGxScreening.py index 447217186..8cf38066c 100644 --- a/genomics-apps/PGxScreening.py +++ b/genomics-apps/PGxScreening.py @@ -1,10 +1,10 @@ -import streamlit as st -import pandas as pd -import requests import csv import random -from st_aggrid import GridOptionsBuilder, AgGrid, JsCode -from pathlib import Path + +import pandas as pd +import requests +import streamlit as st +from st_aggrid import AgGrid, GridOptionsBuilder, JsCode st.set_page_config( page_title="PGx Screening", @@ -33,7 +33,7 @@ def findSubjectTxImplications(subject, haplotypes): def getMedicationList(subject): - with open(Path(__file__).parent/'data/product.csv') as productFile: + with open('genomics-apps/data/product.csv') as productFile: products = csv.reader(productFile, delimiter=',', quotechar='"') productList = [] for row in products: