Skip to content

Issue Importing minian with Notebook #290

@afbrokaw

Description

@afbrokaw

Hello!

I'm trying to run the demo data using the pipeline jupyter notebook. However, I run into an issue when trying to run the "import minian" code:

ModuleNotFoundError Traceback (most recent call last)
Cell In[9], line 23
12 from minian.initialization import (
13 gmm_refine,
14 initA,
(...)
20 seeds_merge,
21 )
22 from minian.motion_correction import apply_transform, estimate_motion
---> 23 from minian.preprocessing import denoise, remove_background
24 from minian.utilities import (
25 TaskAnnotation,
26 get_optimal_chk,
(...)
29 save_minian,
30 )
31 from minian.visualization import (
32 CNMFViewer,
33 VArrayViewer,
(...)
41 write_video,
42 )

File ~\Documents\minian\minian\preprocessing.py:4
2 import numpy as np
3 import xarray as xr
----> 4 from medpy.filter.smoothing import anisotropic_diffusion
5 from scipy.ndimage import uniform_filter
6 from skimage.morphology import disk

ModuleNotFoundError: No module named 'medpy'

I've double checked the file path and I followed the instructions for installing Minian correctly (as far as I can tell). I did have to use the mamba install feature because I was having solve issues with conda. I'm new to Python and so appreciate advice on what I might have missed.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions