diff --git a/docs/Change_Log.md b/docs/Change_Log.md index 2e1bb9f..04d7a68 100644 --- a/docs/Change_Log.md +++ b/docs/Change_Log.md @@ -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; diff --git a/jupyterpidaq/javascript/JupyterPiDAQmnu.js b/jupyterpidaq/javascript/JupyterPiDAQmnu.js index afa3221..ab6ff47 100644 --- a/jupyterpidaq/javascript/JupyterPiDAQmnu.js +++ b/jupyterpidaq/javascript/JupyterPiDAQmnu.js @@ -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();" @@ -112,7 +112,7 @@ function createCmdMenu(){ 'data':"newFit();" }; var menu = {'type':'menu', - 'title':'JupyterPiDAQ', + 'title':'DAQ commands', 'data':[instrun, appendrun, showdata, calccol, istplt, istfit] }; @@ -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(); } } \ No newline at end of file diff --git a/setup.py b/setup.py index 31153d4..f43299a 100644 --- a/setup.py +++ b/setup.py @@ -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",