Skip to content

get_matlab() subsequent calls error #29

@casperdcl

Description

@casperdcl

lru_cache might not work as expected with ipykernel?

# lib.py
def some_function():
  import spm12
  eng = spm12.get_matlab()
  ...
# ipython
In[*]: import lib
In[*]: lib.some_function()
In[*]: import spm12
In[*]: spm12.get_matlab()  # error: cannot find matlab session

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions