alihaydaroglu / suite3d

Fast, accurate, volumetric cell detection. Developed for Light Beads Microscopy, usable for other volumetric 2P. In development
6 stars 0 forks source link

Adding 'pyqtgraph' package #28

Closed oterocoronel closed 1 year ago

oterocoronel commented 1 year ago

After a fresh installation:

ModuleNotFoundError                       Traceback (most recent call last)
Cell In[2], line 4
      2 from suite2p.io import lbm as lbmio
      3 from suite2p.suite3d import utils
----> 4 from suite2p.suite3d.job import Job
      5 from suite2p.suite3d import ui
      8 os.chdir('/FreiwaldSync/MarmoScope/Analysis/SantiVersions/suite2p_LBM/s2p-lbm/')

File /mnt/MarmoScope_Windows10/FreiwaldSync/MarmoScope/Analysis/SantiVersions/suite2p_LBM/s2p-lbm/suite2p/suite2p/suite3d/job.py:27
     25 from suite2p.extraction import dcnv
     26 from suite2p.detection import svd_utils as svu
---> 27 from . import ui
     29 class Job:
     30     def __init__(self, root_dir, job_id, params=None, tifs=None, overwrite=False, verbosity=10, create=True, params_path=None):

File /mnt/MarmoScope_Windows10/FreiwaldSync/MarmoScope/Analysis/SantiVersions/suite2p_LBM/s2p-lbm/suite2p/suite2p/suite3d/ui.py:4
      2 import numpy as n
      3 from matplotlib import pyplot as plt
----> 4 import pyqtgraph as pg
      5 import copy
      7 try: 

Doing a pip install pyqtgraph fixes the issue

Probably worth it to include it to the environment

alihaydaroglu commented 1 year ago

latest env file fixes this issue on a fresh install