in reply to Re: missing values when using Parallel::ForkManager
in thread missing values when using Parallel::ForkManager
The missing value here indicates that this piece of codemy $count = $result_buffer->{$id}->{$pwm};
did not perform its function when parameters were transferred here. $pwm is from list @ciona_pwm_array. Because after executing those lines, the result will catch either 1 or 0,my $count = count_pwm_num($pwm,$seq_1,$seq_2);
However, as shown in result table, several values were missed from certain rows, (row c missed value 1 in column B, row b missed value 1 in column A. The missing values have no specific pattern, and it seems randomly lost. I doubted for some reason it did not execute this codeif($count != 0) { $output_temp_handle->print($id); $output_temp_handle->print("\t$pwm\t1\n"); } else { $output_temp_handle->print($id); $output_temp_handle->print("\t$pwm\t0\n"); }
But I do not know why. Thanks.$pm->start and next PWM;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: missing values when using Parallel::ForkManager
by Anonymous Monk on Jul 07, 2015 at 02:32 UTC | |
by tye (Sage) on Jul 07, 2015 at 04:07 UTC | |
by Anonymous Monk on Jul 07, 2015 at 02:46 UTC | |
by Anonymous Monk on Jul 08, 2015 at 08:27 UTC |