Skip to content

Commit

Permalink
populate_wtsi_irods_groups - remove postifx if for perlcritic
Browse files Browse the repository at this point in the history
  • Loading branch information
dkj committed Dec 6, 2023
1 parent 7c357b1 commit 617cba1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bin/populate_wtsi_irods_groups.pl
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,9 @@ sub _uid_to_irods_uid {
$altered_count++;
}

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

$group_count++;
}
Expand Down

0 comments on commit 617cba1

Please sign in to comment.