Skip to content

Commit

Permalink
Merge pull request #300 from dkj/uninitializedinaddition
Browse files Browse the repository at this point in the history
avoid uninitialized value in addition when human group not created
  • Loading branch information
jmtcsngr authored Feb 2, 2024
2 parents f0e7559 + d0a6927 commit e384986
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/populate_wtsi_irods_groups.pl
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ sub _uid_to_irods_uid {
}

if ($study->contaminated_human_dna) {
$altered_human_count += $iga->ensure_group_exists("ss_$study_id".'_human');
$altered_human_count += $iga->ensure_group_exists("ss_$study_id".'_human')||0;
}

$group_count++;
Expand Down

0 comments on commit e384986

Please sign in to comment.