Skip to content

Commit

Permalink
Fix genomics-apps/PGxScreening.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mihaitodor committed Aug 23, 2024
1 parent 9ba74c5 commit ef1266e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions genomics-apps/PGxScreening.py
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit ef1266e

Please sign in to comment.