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
Hi,
Very cool tool, i tried run the example codes with example data, most of the codes worked well, i got an error at end of the analysis:
TypeError Traceback (most recent call last)
Cell In[20], line 15
13 # Run METALoci
14 print("Running {} on {} dataset for {} signal data...".format(gene,dataset,sigdata))
---> 15 MLs(gene,region,gender,dataset,covcor,reso,midp,sigdata,hicfile,sigfile)
Cell In[19], line 287, in MLs(gene, region, gender, dataset, cf, reso, midp, sigdata, hicfile, sigfile)
285 metaloci_data = pd.DataFrame()
286 if (HHdata.unary_union.geom_type == 'MultiPolygon'):
--> 287 for i in range(0,len(HHdata.unary_union)):
288 ml = HHdata.unary_union[i]
289 ids = GetPointIds(coords,ml)
TypeError: object of type 'MultiPolygon' has no len()
the i checked the code, and i didn't find Sox9_Example/{}{}{}.bed file, could you please also provide this file?
Thanks in advance!
Best,
PF
The text was updated successfully, but these errors were encountered:
Hi,
Very cool tool, i tried run the example codes with example data, most of the codes worked well, i got an error at end of the analysis:
TypeError Traceback (most recent call last)
Cell In[20], line 15
13 # Run METALoci
14 print("Running {} on {} dataset for {} signal data...".format(gene,dataset,sigdata))
---> 15 MLs(gene,region,gender,dataset,covcor,reso,midp,sigdata,hicfile,sigfile)
Cell In[19], line 287, in MLs(gene, region, gender, dataset, cf, reso, midp, sigdata, hicfile, sigfile)
285 metaloci_data = pd.DataFrame()
286 if (HHdata.unary_union.geom_type == 'MultiPolygon'):
--> 287 for i in range(0,len(HHdata.unary_union)):
288 ml = HHdata.unary_union[i]
289 ids = GetPointIds(coords,ml)
TypeError: object of type 'MultiPolygon' has no len()
the i checked the code, and i didn't find Sox9_Example/{}{}{}.bed file, could you please also provide this file?
Thanks in advance!
Best,
PF
The text was updated successfully, but these errors were encountered: