From faab4b237f17c973cd45d265e939414a02c9c3af Mon Sep 17 00:00:00 2001 From: Alex Johnson Date: Thu, 10 Dec 2020 11:21:35 -0500 Subject: [PATCH] fix dash import test Followup to https://github.com/plotly/dash/pull/1493 --- dash_bio/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dash_bio/__init__.py b/dash_bio/__init__.py index ebec4ba02..d006879fb 100644 --- a/dash_bio/__init__.py +++ b/dash_bio/__init__.py @@ -10,7 +10,7 @@ from .component_factory._volcano import VolcanoPlot from .component_factory._clustergram import Clustergram -if not hasattr(_dash, 'development'): +if not hasattr(_dash, '__plotly_dash') and not hasattr(_dash, 'development'): print('Dash was not successfully imported. ' 'Make sure you don\'t have a file ' 'named \n"dash.py" in your current directory.', file=_sys.stderr)