Commit 135eed4c authored by Andreas Kusalananda Kähäri's avatar Andreas Kusalananda Kähäri
Browse files

The fetch_bins_by_Slice() method now works.

parent 9bf51cdc
......@@ -26,13 +26,13 @@ sub fetch_bins_by_Slice {
$this->_lightweight(1);
my $bins =
$this->_bin_features(
-slice => $slice,
-nbins => $nbins,
-method => $method,
-features =>
$this->fetch_by_Slice_constraint( $slice, undef, $logic_name )
);
$this->_bin_features( -slice => $slice,
-nbins => $nbins,
-method => $method,
-features =>
$this->fetch_all_by_Slice_constraint(
$slice, undef, $logic_name
) );
$this->_lightweight($old_value);
......@@ -96,10 +96,10 @@ sub _lightweight {
my ( $this, $value ) = @_;
if ( defined($value) ) {
$self->{'lightweight'} = ( $value != 0 );
$this->{'lightweight'} = ( $value != 0 );
}
return $self->{'lightweight'} || 0;
return $this->{'lightweight'} || 0;
}
our %VALID_BINNING_METHODS = (
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment