-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
subcluster #36
Comments
Dear @lwxing, Thanks for reporting this issue. There was a bug in the code that caused your issue 1, and the others followed from it. I just commit a fix. Now you see:
Best, |
Dear @spond, root@iZm5e768xkpnkqcbiedc13Z:~/hivclustering# hivnetworkcsv -j -i tests/subclusters/pirc.csv -t 0.02,0.01,0.005 -f regexp -p 0 "^([^|]+)|([0-9]+)" -p 0 "^([^|]+)|([0-9]+)" --before 20090101 -O tests/subclusters/pirc-2009.json |
Dear @lwxing, Try modifying your regular expressions to explicitly escape the
use
Best, |
Dear @lwxing, Hmm, this is curious.
What's your Best, |
Python 3.6.9 (default, Oct 8 2020, 12:12:24) |
Dear @lwxing, I am not sure why the issue occurs because I currently can't replicate it (I have Best, |
@spond please help me out: (base) simon@192 hivclustering % hivnetworkcsv -j -i tests/subclusters/pirc.csv -t 0.02,0.01,0.005 -f regexp -p 0 "^([^|]+)|([0-9]+)" -p 0 "^([^|]+)|([0-9]+)" --before 20090101 -O tests/subclusters/pirc-2009.json |
@spond I also use (base) simon@192 hivclustering % hivnetworkcsv -i tests/subclusters/pirc.csv -t 0.02,0.01,0.005 -f regexp -p 0 "^([^|]+)|([0-9]+)" -p 0 "^([^|]+)|([0-9]+)" -P tests/subclusters/pirc-2009.json -j -O tests/subclusters/pirc.json |
I have read the subclusters.md,but I still met some issue when I use the example of cmdline .
issue1:
root@iZm5e768xkpnkqcbiedc13Z:~/hivclustering# hivnetworkcsv -j -i tests/subclusters/pirc.csv -t 0.02,0.01,0.005 -f regexp \
issue2:
root@iZm5e768xkpnkqcbiedc13Z:~/hivclustering# hivnetworkcsv -i tests/subclusters/pirc.csv -t 0.02,0.01,0.005 \
issue3:
root@iZm5e768xkpnkqcbiedc13Z:~/hivclustering# hivnetworkcsv -j -i tests/subclusters/pirc.csv -t 0.02,0.01,0.005 -f regexp -p 0 "^([^|]+)|([0-9]+)" -p 0 "^([^|]+)|([0-9]+)" --before 20090101 -P tests/prior_networks/prior.json -O tests/subclusters/pirc-2009.json
Fitting the degree distribution to various densities
[WARNING] Removed 1698 nodes from the previous network,......
......
Added 475 edges compared to the prior network
Traceback (most recent call last):
File "/usr/local/bin/hivnetworkcsv", line 620, in
make_hiv_network()
File "/usr/local/bin/hivnetworkcsv", line 568, in make_hiv_network
combined_id = "%d.%d" % (cluster_id, subcluster_id)
TypeError: %d format: a number is required, not NoneType
The text was updated successfully, but these errors were encountered: