Skip to content
This repository has been archived by the owner on Nov 26, 2023. It is now read-only.

Commit

Permalink
Merge branch 'master' of https://github.com/kushalkolar/MESmerize
Browse files Browse the repository at this point in the history
  • Loading branch information
kushalkolar committed Mar 6, 2022
2 parents 8e7f42c + 2c1b531 commit 2556abd
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 14 deletions.
10 changes: 5 additions & 5 deletions docs/source/user_guides/viewer/overview.rst
Original file line number Diff line number Diff line change
Expand Up @@ -180,11 +180,6 @@ If you double click on “meta” above you can see your meta data.

You can view your meta data more quickly using the console.

Open the console by going to View -> Console.
You can then call ``get_meta()`` to print the meta data dict.

.. image:: ./overview/11.png

Console
^^^^^^^

Expand All @@ -203,6 +198,11 @@ Open these docs
Console
=======

Open the console by going to View -> Console.
You can then call ``get_meta()`` to print the meta data dict.

.. image:: ./overview/11.png

You can interact directly with the :ref:`work environment <ViewerWorkEnv>` using the console.

.. seealso:: :ref:`Viewer Core API <API_ViewerCore>`, :ref:`Overview on consoles <ConsoleOverview>`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
from .main_widget import ProjectBrowserWidget
from ...pyqtgraphCore.console import ConsoleWidget
from .pytemplates.mainwindow_pytemplate import Ui_MainWindow
from spyder.widgets.variableexplorer import objecteditor
#from spyder.widgets.variableexplorer import objecteditor
import pandas as pd
import os
from ...common import configuration, get_project_manager
Expand Down
7 changes: 3 additions & 4 deletions mesmerize/pyqtgraphCore/ptime.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,17 @@

def winTime():
"""Return the current time in seconds with high precision (windows version, use Manager.time() to stay platform independent)."""
return systime.clock() + START_TIME
return systime.process_time() + START_TIME
#return systime.time()

def unixTime():
"""Return the current time in seconds with high precision (unix version, use Manager.time() to stay platform independent)."""
return systime.time()

if sys.platform.startswith('win'):
cstart = systime.clock() ### Required to start the clock in windows
cstart = systime.process_time() ### Required to start the clock in windows
START_TIME = systime.time() - cstart

time = winTime
else:
time = unixTime

2 changes: 1 addition & 1 deletion mesmerize/viewer/main_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
from ..common import configuration, doc_pages
from ..common import get_window_manager
from .image_menu.main import ImageMenu
from spyder.widgets.variableexplorer import objecteditor
#from spyder.widgets.variableexplorer import objecteditor
import traceback
from .core.add_to_project import AddToProjectDialog
import os
Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"python-dateutil>=2.8.0",
"QtPy>=1.6.0",
"qtap",
"scikit-image~=0.15.0", # do not change
"scikit-image",
"scikit-learn~=0.23.1", # tslearn 0.4 has issues with newer sklearn
"scipy>=1.2.1", # do not change
"seaborn==0.9.0", # do not change
Expand All @@ -40,7 +40,7 @@
#"bottleneck==1.2.1", # do not change
"holoviews",
"jupyter",
"pynwb", # caiman requirement
#"pynwb", # caiman requirement
"pyqtgraph",
#"tensorflow~=1.15.0", # do not change, caiman requirement
"tk", # do not change
Expand Down Expand Up @@ -88,6 +88,6 @@
long_description=long_description,
long_description_content_type='text/markdown',
classifiers=classifiers,
python_requires='>=3.6',
python_requires='>=3.8',
install_requires=install_requires
)

0 comments on commit 2556abd

Please sign in to comment.