You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
~/yes/envs/sc_analysis/lib/python3.8/site-packages/rpy2/robjects/functions.py in call(self, *args, **kwargs)
206 v = kwargs.pop(k)
207 kwargs[r_k] = v
--> 208 return (super(SignatureTranslatedFunction, self)
209 .call(*args, **kwargs))
210
~/yes/envs/sc_analysis/lib/python3.8/site-packages/rpy2/robjects/functions.py in call(self, *args, **kwargs)
121 def call(self, *args, **kwargs):
122 cv = conversion.get_conversion()
--> 123 new_args = [cv.py2rpy(a) for a in args]
124 new_kwargs = {}
125 for k, v in kwargs.items():
~/yes/envs/sc_analysis/lib/python3.8/site-packages/rpy2/robjects/functions.py in (.0)
121 def call(self, *args, **kwargs):
122 cv = conversion.get_conversion()
--> 123 new_args = [cv.py2rpy(a) for a in args]
124 new_kwargs = {}
125 for k, v in kwargs.items():
RecursionError: maximum recursion depth exceeded while calling a Python object
Do you have any suggestions? Has anyone else experienced the same error here? I tried to set the recursion limit even higher by using sys.setrecursionlimit() but also it didn't work and the notebook crashed
The text was updated successfully, but these errors were encountered:
Hello...everyone I keep receiving this error whenever I try to run the following code:
DA_nhoods(adata_Epi, design="~condition_continuous")
RecursionError Traceback (most recent call last)
/tmp/ipykernel_654903/4015237463.py in
----> 1 DA_nhoods(adata_Epi, design="~condition_continuous")
~/yes/envs/sc_analysis/lib/python3.8/site-packages/milopy/core.py in DA_nhoods(adata, design, model_contrasts, subset_samples, add_intercept)
253 dge = edgeR.DGEList(
254 counts=count_mat[keep_nhoods, :][:, keep_smp], lib_size=lib_size[keep_smp])
--> 255 dge = edgeR.calcNormFactors(dge, method="TMM")
256 dge = edgeR.estimateDisp(dge, model)
257 fit = edgeR.glmQLFit(dge, model, robust=True)
~/yes/envs/sc_analysis/lib/python3.8/site-packages/rpy2/robjects/functions.py in call(self, *args, **kwargs)
206 v = kwargs.pop(k)
207 kwargs[r_k] = v
--> 208 return (super(SignatureTranslatedFunction, self)
209 .call(*args, **kwargs))
210
~/yes/envs/sc_analysis/lib/python3.8/site-packages/rpy2/robjects/functions.py in call(self, *args, **kwargs)
121 def call(self, *args, **kwargs):
122 cv = conversion.get_conversion()
--> 123 new_args = [cv.py2rpy(a) for a in args]
124 new_kwargs = {}
125 for k, v in kwargs.items():
~/yes/envs/sc_analysis/lib/python3.8/site-packages/rpy2/robjects/functions.py in (.0)
121 def call(self, *args, **kwargs):
122 cv = conversion.get_conversion()
--> 123 new_args = [cv.py2rpy(a) for a in args]
124 new_kwargs = {}
125 for k, v in kwargs.items():
~/yes/envs/sc_analysis/lib/python3.8/functools.py in wrapper(*args, **kw)
873 '1 positional argument')
874
--> 875 return dispatch(args[0].class)(*args, **kw)
876
877 funcname = getattr(func, 'name', 'singledispatch function')
~/yes/envs/sc_analysis/lib/python3.8/site-packages/rpy2/robjects/numpy2ri.py in nonnumpy2rpy(obj)
141 else:
142 # The conversion module was "activated"
--> 143 return original_converter.py2rpy(obj)
144
145
... last 2 frames repeated, from the frame below ...
~/yes/envs/sc_analysis/lib/python3.8/functools.py in wrapper(*args, **kw)
873 '1 positional argument')
874
--> 875 return dispatch(args[0].class)(*args, **kw)
876
877 funcname = getattr(func, 'name', 'singledispatch function')
RecursionError: maximum recursion depth exceeded while calling a Python object
Do you have any suggestions? Has anyone else experienced the same error here? I tried to set the recursion limit even higher by using sys.setrecursionlimit() but also it didn't work and the notebook crashed
The text was updated successfully, but these errors were encountered: