diff --git a/pages/1_Chemical_Space_Exploration.py b/pages/1_Chemical_Space_Exploration.py index dc05291..00d7bc6 100644 --- a/pages/1_Chemical_Space_Exploration.py +++ b/pages/1_Chemical_Space_Exploration.py @@ -88,7 +88,7 @@ \n Generated Scaffold - :green[{scaffold_inchikey}]**" ) -df_scaffold = df[df["scaffold_inchikey"] == "PNUZDKCDAWUEGK"] +df_scaffold = df[df["scaffold_inchikey"] == scaffold_inchikey] if df_scaffold.empty: st.write("**No compounds with this scaffold in the database.**") else: