# HG changeset patch # User Henry S. Thompson # Date 1669293437 0 # Node ID f76656fa98f7f6addb5a758efbd8de08417cb2e4 # Parent 2e8002a64f729c41cb7495873ad99d6ebb1af6b6 fix N diff -r 2e8002a64f72 -r f76656fa98f7 bin/spearman.py --- a/bin/spearman.py Wed Nov 23 11:05:45 2022 +0000 +++ b/bin/spearman.py Thu Nov 24 12:37:17 2022 +0000 @@ -141,7 +141,7 @@ fd_ranked[i]] for i in range(N)]) counts=loadtxt(sys.argv[1]+".csv",delimiter=',') -N=counts.shape[0] +N=counts.shape[1]-1 # "If axis=0 (default), then each column represents a variable, with # observations in the rows" # So each column is a sequence of counts, for whole crawl in column 0