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!! I am trying to use your tool for analyzing HTT sequences. I think I correctly installed the program, since I have been able to use the first script without errors (tred.py). However, when I have to run the tredreport.py (using as input the .json file generated previously), I obtained this error:
Using 1 cpus to parse 1 JSON files
/media/sequentia/visitors/visitor4/HTT/tredparse/tredparse/tredreport.py:135: FutureWarning: '.reindex_axis' is deprecated and will be removed in a future version. Use '.reindex' instead.
tf = df.reindex_axis(columns, axis='columns')
TSV output written to out.tsv (# samples=1)
Traceback (most recent call last):
File "tredreport.py", line 20, in
main(sys.argv[1:])
File "/media/sequentia/visitors/visitor4/HTT/tredparse/tredparse/tredreport.py", line 274, in main
casesfw=casesfw, detailsfw=detailsfw)
File "/media/sequentia/visitors/visitor4/HTT/tredparse/tredparse/tredreport.py", line 52, in get_tred_summary
carrier = df[(df[label] != "risk") & (df[pf2] >= cutoff_risk)]
File "/home/visitor4/.local/lib/python2.7/site-packages/pandas/core/ops.py", line 1766, in wrapper
res = na_op(values, other)
File "/home/visitor4/.local/lib/python2.7/site-packages/pandas/core/ops.py", line 1651, in na_op
return invalid_comparison(x, y, op)
File "/home/visitor4/.local/lib/python2.7/site-packages/pandas/core/ops.py", line 1058, in invalid_comparison
.format(dtype=left.dtype, typ=type(right).name))
TypeError: Invalid comparison between dtype=int64 and str
Maybe I am making some mistakes, have you any suggestions?
Thanks you,
The text was updated successfully, but these errors were encountered:
hi!! I am trying to use your tool for analyzing HTT sequences. I think I correctly installed the program, since I have been able to use the first script without errors (tred.py). However, when I have to run the tredreport.py (using as input the .json file generated previously), I obtained this error:
Using 1 cpus to parse 1 JSON files
/media/sequentia/visitors/visitor4/HTT/tredparse/tredparse/tredreport.py:135: FutureWarning: '.reindex_axis' is deprecated and will be removed in a future version. Use '.reindex' instead.
tf = df.reindex_axis(columns, axis='columns')
TSV output written to
out.tsv
(# samples=1)Traceback (most recent call last):
File "tredreport.py", line 20, in
main(sys.argv[1:])
File "/media/sequentia/visitors/visitor4/HTT/tredparse/tredparse/tredreport.py", line 274, in main
casesfw=casesfw, detailsfw=detailsfw)
File "/media/sequentia/visitors/visitor4/HTT/tredparse/tredparse/tredreport.py", line 52, in get_tred_summary
carrier = df[(df[label] != "risk") & (df[pf2] >= cutoff_risk)]
File "/home/visitor4/.local/lib/python2.7/site-packages/pandas/core/ops.py", line 1766, in wrapper
res = na_op(values, other)
File "/home/visitor4/.local/lib/python2.7/site-packages/pandas/core/ops.py", line 1651, in na_op
return invalid_comparison(x, y, op)
File "/home/visitor4/.local/lib/python2.7/site-packages/pandas/core/ops.py", line 1058, in invalid_comparison
.format(dtype=left.dtype, typ=type(right).name))
TypeError: Invalid comparison between dtype=int64 and str
Maybe I am making some mistakes, have you any suggestions?
Thanks you,
The text was updated successfully, but these errors were encountered: