-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17 from UMN-CMS/rand_dev
new lbGBT schema and current draw test
- Loading branch information
Showing
11 changed files
with
988 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
#!/usr/bin/python3 | ||
|
||
import cgi | ||
import cgitb | ||
import base | ||
import module_functions | ||
import sys | ||
import current_draw_plots as mp | ||
|
||
def run(static): | ||
base.header(title='Current Draw') | ||
base.top(static) | ||
|
||
print(''' | ||
<script> | ||
data = {}; | ||
Bokeh.embed.embed_item(data, 'exfilter'); | ||
</script> | ||
<div id='exfilter' class='bk-root'></div> | ||
'''.format(mp.Filter())) | ||
|
||
base.bottom(static) | ||
|
||
if __name__ == '__main__': | ||
cgitb.enable() | ||
#cgi header | ||
print("Content-type: text/html\n") | ||
|
||
run(False) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.