Permalink
Browse files

relax linkage group naming.

  • Loading branch information...
1 parent ff37f29 commit b30185231118b871362e45d609be0ee94e801e51 @lukasmueller lukasmueller committed Jun 11, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/CXGN/Map/Version.pm
View
@@ -94,7 +94,7 @@ sub new {
for my $lg_name(@{$linkage_groups}) {
# one digit, optionally followed by another, optionally followed
# by a lowercase letter--modify this regex if needed
- unless ($lg_name=~/^\d\d?[a-z]?$/) {
+ unless ($lg_name=~/^\d\d?(\.\d|[a-z]?)$/) {
die "'$lg_name' is not a valid linkage group name";
}
}

0 comments on commit b301852

Please sign in to comment.