kushalkolar / MESmerize

Platform for Calcium Imaging analysis. DEPRECATED.
GNU General Public License v3.0
58 stars 14 forks source link

unexpected issues to a new man #86

Closed PPPPolish closed 2 years ago

PPPPolish commented 2 years ago

Describe the bug the following error occurred

KeyError: ('No framerate for current image sequence!', 'You must set a framerate for the current image sequence. You can set it manually in the console like this:\nget_meta()["fps"] = ')

To Reproduce Steps to reproduce the behavior, for example:

  1. Go to 'set CNMF parameters'
  2. Click on 'Add to batch'
  3. See error above

Indeed I run ''' get_meta()["fps"] = 1 ''' in the Console at Mesmerize- Welcome Window- Expected behavior

Traceback (most recent call last): File "/home/user/venvs/mesmerize/lib/python3.6/site-packages/mesmerize/pyqtgraphCore/console/Console.py", line 167, in execSingle output = eval(cmd, self.globals(), self.locals()) File "", line 1 get_meta()["fps"] = 1 ^ SyntaxError: invalid syntax

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/user/venvs/mesmerize/lib/python3.6/site-packages/mesmerize/pyqtgraphCore/console/Console.py", line 171, in execSingle
    exec(cmd, self.globals(), self.locals())
  File "<string>", line 1, in <module>
NameError: name 'get_meta' is not defined

Operating System & specs (CPU, RAM etc.). Please complete the following information: OS: the xubantu posted online, containing mesmerize

Details about your Mesmerize install

Additional context Add any other context about the problem here.

kushalkolar commented 2 years ago

You need to run that in the Viewer console, my guess is that you ran this in the welcome window console.

On Tue, Mar 1, 2022, 07:54 TOM @.***> wrote:

Assigned #86 https://github.com/kushalkolar/MESmerize/issues/86 to @kushalkolar https://github.com/kushalkolar.

— Reply to this email directly, view it on GitHub https://github.com/kushalkolar/MESmerize/issues/86#event-6161844924, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACHXXRHZM2SRYTQ344KWL4DU5YHRJANCNFSM5PT66ENQ . You are receiving this because you were assigned.Message ID: @.***>

PPPPolish commented 2 years ago

THANK YOU for your advice But I am able not to find the console in the Viewer and I paste the screenshot here

https://user-images.githubusercontent.com/63966145/156511631-a0ce113a-40a5-4a9c-9276-4c5333bfc4e6.png

kushalkolar commented 2 years ago

http://docs.mesmerizelab.org/en/master/user_guides/viewer/overview.html#console

On Thu, Mar 3, 2022, 01:53 TOM @.***> wrote:

THANK YOU for your advice But I am able not to find the console in the Viewer and I paste the screenshot here

https://user-images.githubusercontent.com/63966145/156511631-a0ce113a-40a5-4a9c-9276-4c5333bfc4e6.png

— Reply to this email directly, view it on GitHub https://github.com/kushalkolar/MESmerize/issues/86#issuecomment-1057732788, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACHXXRGVGPYCFIQKWYPPLP3U6BOX7ANCNFSM5PT66ENQ . You are receiving this because you were mentioned.Message ID: @.***>

kushalkolar commented 2 years ago

@PPPPolish did you figure it out? You're welcome to re-open or post a new issue if you have more questions.