Skip to content

Commit

Permalink
Save to storable format by default
Browse files Browse the repository at this point in the history
We have issues between versions of sereal.
  • Loading branch information
shawnlaffan committed Mar 5, 2018
1 parent 41e4f59 commit 63d416d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions example_scripts/aggregate_env_data_table.pl
Expand Up @@ -130,12 +130,15 @@
croak $EVAL_ERROR if $EVAL_ERROR;

# adds the .bds extension by default
$bd->save (filename => $out_pfx . '_' . $col_name);
$bd->save (
filename => $out_pfx . '_' . $col_name,
method => 'save_to_storable', # avoid sereal version issues
);

foreach my $group ($sp->get_element_list) {
my $list = $sp->get_list_ref (
element => $group,
list => 'SPATIAL_RESULTS',
list => 'SPATIAL_RESULTS',
);
$agg_bs->add_element (element => $group);
foreach my $stats_col_name (keys %$list) {
Expand Down

0 comments on commit 63d416d

Please sign in to comment.