-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
Dear Author,
I seem to have encountered a problem while running the python file 2_calc_kmaps.py. It does not read the elements from the list. I have searched to convert it with rpy2 localconverter but still seem to fail. How shall I proceed. Thank you in advance
Traceback (most recent call last):
File "/MCSpatNet/data_prepare/2_calc_kmaps.py", line 85, in
cells_ppp = ppp(cells_x, cells_y, cells_mark) # the point pattern in R object
File "../spatial_analysis_utils_v2_sh.py", line 56, in ppp
window_xrange=rfc([robj.r.min(rfc(x)), robj.r.max(rfc(x))])
File "python3.6/site-packages/rpy2/robjects/vectors.py", line 492, in init
obj = FloatSexpVector(obj)
ValueError: Error while trying to convert element 0 to a double.
Metadata
Metadata
Assignees
Labels
No labels