Skip to content

Commit

Permalink
Fixes qgridnext import error in tests (#2834)
Browse files Browse the repository at this point in the history
Fallback to qgrid (currently in lock files)
  • Loading branch information
andrewfullard authored Sep 30, 2024
1 parent 14013c1 commit 3b6084f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tardis/visualization/widgets/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,10 @@ def create_table_widget(
except ModuleNotFoundError as e:
logger.exception(
"qgridnext must be installed via pip for widgets to work.\n \
Run 'pip install qgridnext' inside your tardis environment"
Run 'pip install qgridnext' inside your tardis environment.\n \
Falling back to qgrid"
)
raise e
import qgrid as qgridnext

# Setting the options to be used for creating table widgets
grid_options = {
Expand Down

0 comments on commit 3b6084f

Please sign in to comment.