Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suspension Dash GUI #22

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions Pidaq/UI/Stability/stability.py
Original file line number Diff line number Diff line change
@@ -1 +1,18 @@
# Stability dash entrypoint
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd like to see top of file comments replaced with a module docstring

import time

import dash
import dash_bootstrap_components as dbc
import dash_core_components as dcc
import dash_daq as daq
import dash_html_components as html
from dash.dependencies import Input, Output, State

import stability_dash.callbacks.control_callbacks
from stability_dash.app import app
from stability_dash.layout.control import control_layout
Comment on lines +2 to +13
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Imports look to be in order, nice~!


app.layout = control_layout

if __name__ == "__main__":
app.run_server(debug=False)
7 changes: 7 additions & 0 deletions Pidaq/UI/Stability/stability_dash/app.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import dash

app = dash.Dash(__name__)
server = app.server
server.config['SECRET_KEY'] = 'password'
app.config.suppress_callback_exceptions=True

Loading