deepakri201 commited on
Commit
3d36514
·
1 Parent(s): 2b62c92

fixed getting list of collection_ids

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -28,7 +28,8 @@ index_df = client.index
28
  st.subheader("Choose IDC Data to Process")
29
  collection_ids = index_df["collection_id"].unique()
30
  # only keep collection_ids with prostate in the name
31
- collection_ids = [f if "prostate" in f for f in collection_ids]
 
32
  print('collection_ids: ' + str(collection_ids))
33
  selected_collection_id = st.selectbox("Select Collection ID", collection_ids)
34
 
 
28
  st.subheader("Choose IDC Data to Process")
29
  collection_ids = index_df["collection_id"].unique()
30
  # only keep collection_ids with prostate in the name
31
+ # collection_ids = [f if "prostate" in f for f in collection_ids]
32
+ collection_ids = [f for f in collection_ids if "prostate" in f]
33
  print('collection_ids: ' + str(collection_ids))
34
  selected_collection_id = st.selectbox("Select Collection ID", collection_ids)
35