Update app.py
Browse files
app.py
CHANGED
@@ -243,6 +243,7 @@ def assess_drug_likeness(df: pd.DataFrame):
|
|
243 |
|
244 |
def plot_properties_dashboard(df: pd.DataFrame):
|
245 |
"""Creates a professional 2x2 dashboard of molecular property visualizations using Bokeh."""
|
|
|
246 |
if df.empty or 'Drug_Like' not in df.columns:
|
247 |
return None, "Cannot plot: No analysis data or 'Drug_Like' column missing."
|
248 |
|
|
|
243 |
|
244 |
def plot_properties_dashboard(df: pd.DataFrame):
|
245 |
"""Creates a professional 2x2 dashboard of molecular property visualizations using Bokeh."""
|
246 |
+
from math import pi, cos, sin
|
247 |
if df.empty or 'Drug_Like' not in df.columns:
|
248 |
return None, "Cannot plot: No analysis data or 'Drug_Like' column missing."
|
249 |
|