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
Which doesn't work if your celltype includes special characters:
File "/lab/solexa_weissman/lenail/tools/scenicplus/src/scenicplus/wrappers/run_pycistarget.py", line 247, in run_pycistarget
menr['CTX_'+key+'_No_promoters'][str(x)].motif_enrichment.to_html(open(out_file, 'w'), escape=False, col_space=80)
FileNotFoundError: [Errno 2] No such file or directory: '/home/lenail/solexa/mouse_brain_aging/ATAC/pycisTopic/hippo/pycisTarget/CTX_DARs_No_promoters/L2/3 IT CTX_young_VS_L2/3 IT CTX_old.html'
the
run_pycistarget
wrapper function contains a few occurrences of a line like this one:scenicplus/src/scenicplus/wrappers/run_pycistarget.py
Line 212 in 61c17c8
Which doesn't work if your celltype includes special characters:
My hacky solution locally was just:
out_file = os.path.join(out_folder, str(x).replace('/','_') +'.html')
But in general,
str(x)
should be replaced withsanitize(x)
The text was updated successfully, but these errors were encountered: