Subject: | articulation_points stalls |
Jarrko,
It's great that you've been able to work on those bugs relating to refvertexed. I haven't been
able to fully test the fixes yet but I will get around to examing them shortly. Meanwhile I've
encountered a problem with articulation_points that I hadn't seen using .69. The problem is
that the script stalls at this method and never finishes. I've reduced the problem down to a
plain network so that you don't need to install BioPerl to see it. Details:
Mac OS X 10.4.6, perl 5.8.6. Graph .71
Code:
#!/usr/bin/perl -w
use strict;
use Graph;
my $g = Graph::Undirected->new;
open MYIN,"network1.txt";
while (<MYIN>) {
chomp;
my ($e,$v1,$v2) = split ',';
$g->add_vertices($v1,$v2);
$g->add_edges([$v1,$v2]);
}
my @rts = $g->articulation_points;
print "@rts\n";
Thanks again,
BIO
Than
Subject: | network1.txt |
DIP:4305E,DIP:3048N,DIP:3047N
DIP:4307E,DIP:3050N,DIP:3047N
DIP:4308E,DIP:3051N,DIP:3051N
DIP:4309E,DIP:3052N,DIP:3051N
DIP:4310E,DIP:3053N,DIP:3051N
DIP:4311E,DIP:3054N,DIP:3051N
DIP:4312E,DIP:3055N,DIP:3056N
DIP:4313E,DIP:3057N,DIP:3056N
DIP:4314E,DIP:3058N,DIP:3056N
DIP:4315E,DIP:3059N,DIP:3056N
DIP:4316E,DIP:3060N,DIP:3056N
DIP:4317E,DIP:3061N,DIP:3056N
DIP:4318E,DIP:3062N,DIP:3056N
DIP:4319E,DIP:3063N,DIP:3056N
DIP:4320E,DIP:3064N,DIP:3056N
DIP:4321E,DIP:3065N,DIP:3056N
DIP:4322E,DIP:3066N,DIP:3056N
DIP:4323E,DIP:3067N,DIP:3056N
DIP:4324E,DIP:3053N,DIP:3056N
DIP:4325E,DIP:3068N,DIP:3056N
DIP:4326E,DIP:3070N,DIP:3069N
DIP:4327E,DIP:3071N,DIP:3069N
DIP:4328E,DIP:3072N,DIP:3069N
DIP:4329E,DIP:3073N,DIP:3069N
DIP:4330E,DIP:3074N,DIP:3074N
DIP:4331E,DIP:3053N,DIP:3074N
DIP:4332E,DIP:3075N,DIP:3075N
DIP:4333E,DIP:3076N,DIP:3075N
DIP:4334E,DIP:3077N,DIP:3075N
DIP:4335E,DIP:3078N,DIP:3075N
DIP:4336E,DIP:3079N,DIP:3075N
DIP:4337E,DIP:3080N,DIP:3075N
DIP:4338E,DIP:3081N,DIP:3075N
DIP:4339E,DIP:3082N,DIP:3075N
DIP:4340E,DIP:3083N,DIP:3075N
DIP:4341E,DIP:3084N,DIP:3075N
DIP:4342E,DIP:3085N,DIP:3075N
DIP:4343E,DIP:3086N,DIP:3075N
DIP:4344E,DIP:3087N,DIP:3075N
DIP:4345E,DIP:3088N,DIP:3075N
DIP:4346E,DIP:3090N,DIP:3089N
DIP:4347E,DIP:3091N,DIP:3089N
DIP:4348E,DIP:3092N,DIP:3089N
DIP:4349E,DIP:3093N,DIP:3089N
DIP:4350E,DIP:3094N,DIP:3089N
DIP:4351E,DIP:3082N,DIP:3089N
DIP:4352E,DIP:3083N,DIP:3089N
DIP:4353E,DIP:3095N,DIP:3089N
DIP:4354E,DIP:3096N,DIP:3089N
DIP:4355E,DIP:3097N,DIP:3089N
DIP:4356E,DIP:3087N,DIP:3089N
DIP:4357E,DIP:3098N,DIP:3089N
DIP:4358E,DIP:3099N,DIP:3089N
DIP:4359E,DIP:3100N,DIP:3089N
DIP:4360E,DIP:3102N,DIP:3101N
DIP:4361E,DIP:3103N,DIP:3101N
DIP:4362E,DIP:3104N,DIP:3101N
DIP:4363E,DIP:3095N,DIP:3101N
DIP:4364E,DIP:3105N,DIP:3101N
DIP:4365E,DIP:3106N,DIP:3101N
DIP:4366E,DIP:3107N,DIP:3107N
DIP:4367E,DIP:3108N,DIP:3108N
DIP:4368E,DIP:3110N,DIP:3109N
DIP:4369E,DIP:3111N,DIP:3109N
DIP:4370E,DIP:3112N,DIP:3109N
DIP:4384E,DIP:3112N,DIP:3111N
DIP:4371E,DIP:3059N,DIP:3109N
DIP:4372E,DIP:3113N,DIP:3109N
DIP:4373E,DIP:3114N,DIP:3109N
DIP:4374E,DIP:3115N,DIP:3109N
DIP:4375E,DIP:3116N,DIP:3109N
DIP:4376E,DIP:3117N,DIP:3109N
DIP:4377E,DIP:3118N,DIP:3109N
DIP:4378E,DIP:3119N,DIP:3119N
DIP:4379E,DIP:3053N,DIP:3119N
DIP:4380E,DIP:3120N,DIP:3120N
DIP:4381E,DIP:3121N,DIP:3120N
DIP:4382E,DIP:3122N,DIP:3120N
DIP:4383E,DIP:3103N,DIP:3123N
DIP:4389E,DIP:3103N,DIP:3123N
DIP:4390E,DIP:3103N,DIP:3123N
DIP:4391E,DIP:3122N,DIP:3120N
DIP:4391E,DIP:3122N,DIP:3120N