Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Allow -types to be used as an alias for -type in calls to features() …

…and get_seq_stream().
  • Loading branch information...
commit 1bfe71117ffe17b8cd7de600431362e9708f4822 1 parent e4cc015
@lstein lstein authored
View
4 Bio-BigFile/Changes
@@ -1,3 +1,7 @@
+Version 1.07
+ * Allow -types to be used as an alias for -type in calls to features()
+ and get_seq_stream().
+
Version 1.06
* Strip whitespace from the ends of BigWigSet metadata files.
View
2  Bio-BigFile/lib/Bio/DB/BigFile.pm
@@ -598,7 +598,7 @@ use Carp 'croak';
use base qw(DynaLoader);
use File::Spec;
use Bio::DB::BigFile::Constants;
-our $VERSION = '1.06';
+our $VERSION = '1.07';
bootstrap Bio::DB::BigFile;
View
1  Bio-BigFile/lib/Bio/DB/BigWig.pm
@@ -672,6 +672,7 @@ sub get_seq_stream {
} else {
%options = @_;
}
+ $options{-type} ||= $options{-types};
if (ref $options{-type} && ref $options{-type} eq 'ARRAY') {
warn "This module only supports fetching one feature type at a time. Picking first one."
View
1  Bio-BigFile/lib/Bio/DB/BigWigSet.pm
@@ -420,6 +420,7 @@ sub get_seq_stream {
} else {
%options = @_;
}
+ $options{-type} ||= $options{-types};
my @ids = keys %{$self->{bigwigs}};
@ids = $self->_filter_ids_by_type($options{-type}, \@ids) if $options{-type};
Please sign in to comment.
Something went wrong with that request. Please try again.