Giter Site home page Giter Site logo

Comments (5)

hluetck avatar hluetck commented on June 11, 2024

Hello, could you please provide some more details about the code that you are trying to run? Which branch of the repository are you using and what is the code that is not working in VS?

from caiman_dendriteanalysis.

a-gavrilova avatar a-gavrilova commented on June 11, 2024

Hi!
I was trying to run this code with some adjustments: https://github.com/HelmchenLabSoftware/CaImAn_DendriteAnalysis/blob/master/01_Preprocess_MotionCorrect.ipynb

I haven't run all the code, followed step by step and at the cluster setting step I received this error:

_pickle.PicklingError: Can't pickle <function cropTif at 0x0000024A9D6BD5A0>: attribute lookup cropTif on main failed
Exception ignored in: <function Pool.del at 0x0000024A93062E60>
Traceback (most recent call last):
File "C:\Users\melod\anaconda3\envs\caiman\lib\multiprocessing\pool.py", line 271, in del
File "C:\Users\melod\anaconda3\envs\caiman\lib\multiprocessing\queues.py", line 371, in put
AttributeError: 'NoneType' object has no attribute 'dumps'

So the problem is not with the code itself, but with maybe directory or smth else.

from caiman_dendriteanalysis.

a-gavrilova avatar a-gavrilova commented on June 11, 2024

Sorry for stupid questions, I'm new in programming and especially in calcium data analysis =/

from caiman_dendriteanalysis.

hluetck avatar hluetck commented on June 11, 2024

I think the issue here is that the function cropTif is defined in the Jupyter notebook. If you run in a non-interactive environment, the functions need to be imported explicitly. This is actually how it is done on the caiman_latest branch. Please have a look at utils.py which is then imported in the notebook.

from caiman_dendriteanalysis.

a-gavrilova avatar a-gavrilova commented on June 11, 2024

Okay, I will have a look at that code!

from caiman_dendriteanalysis.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.