in reply to Re: find shortest path for each query from a CSV file
in thread find shortest path for each query from a CSV file

Sorry but Im getting this error (even though I have tried download link under your code) :-
Use of uninitialized value in join or string at check_22nov_metabolite +_pred_2.pl line 74, <DATA> line 6. M7: M7<-Q, P. Use of uninitialized value in join or string at check_22nov_metabolite +_pred_2.pl line 74, <DATA> line 6. M54: M54<-M7<-Q, Pl.P. Use of uninitialized value in join or string at check_22nov_metabolite +_pred_2.pl line 74, <DATA> line 6. M194: M194<-M54<-M7<-Q, E.Pl.P. Use of uninitialized value in join or string at check_22nov_metabolite +_pred_2.pl line 74, <DATA> line 6. M206: M206<-M54<-M7<-Q, E.Pl.P. Use of uninitialized value in join or string at check_22nov_metabolite +_pred_2.pl line 74, <DATA> line 6. M213: M213<-M54<-M7<-Q, E.Pl.P.

Replies are listed 'Best First'.
Re^3: find shortest path for each query from a CSV file
by GrandFather (Saint) on Nov 22, 2013 at 23:15 UTC

    I truncated the data in the code I posted to reduce the number of uninteresting lines. The '...' is an ellipsis and is used to indicate missing data. If you substitute the data from Re^2: find shortest path for each query from a CSV file the code runs correctly without warnings.

    True laziness is hard work