Skip to content

Commit

Permalink
Menu name to DAQ_commands
Browse files Browse the repository at this point in the history
  • Loading branch information
gutow committed May 25, 2022
1 parent 32e83a9 commit a5dc993
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 2 additions & 0 deletions docs/Change_Log.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
## Change Log
* 0.7.6
* Converted to fancy menus (could make hierarchical).
* 0.7.5
* Added fitting to DAQ command menu.
* Documentation Enhancements: github.io website; first pass as API docs;
Expand Down
8 changes: 4 additions & 4 deletions jupyterpidaq/javascript/JupyterPiDAQmnu.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ function newFit(){
}

function createCmdMenu(){
if(!document.getElementById('jupyterpiDAQ')){
if(!document.getElementById('DAQ_commands')){
var instrun = {'type':'action',
'title':'Insert New Run after selection...',
'data':"insertnewRun();"
Expand All @@ -112,7 +112,7 @@ function createCmdMenu(){
'data':"newFit();"
};
var menu = {'type':'menu',
'title':'JupyterPiDAQ',
'title':'DAQ commands',
'data':[instrun, appendrun, showdata, calccol, istplt,
istfit]
};
Expand All @@ -121,7 +121,7 @@ function createCmdMenu(){
}

function deleteCmdMenu(){
if(document.getElementById('jupyterpiDAQcmdsmnu')){
document.getElementById('jupyterpiDAQcmdsmnu').remove();
if(document.getElementById('DAQ_commands')){
document.getElementById('DAQ_commands').remove();
}
}
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
setuptools.setup(
name="JupyterPiDAQ",
url = "https://github.com/JupyterPhysSciLab/JupyterPiDAQ",
version="0.7.5",
version="0.7.6",
description="Data Acquisition in Jupyter notebook on Raspberry Pi",
long_description=long_description,
long_description_content_type="text/markdown",
Expand Down

0 comments on commit a5dc993

Please sign in to comment.