Skip to content

Commit

Permalink
Use final table in phi-file in frem
Browse files Browse the repository at this point in the history
  • Loading branch information
rikardn committed Jan 2, 2024
1 parent f9a01a5 commit 5701587
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions lib/utils/phitable.pm
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,7 @@ sub validate_phi
# load table
my $tables = nmtablefile->new(filename => $path);
my $num_tables = scalar @{$tables->tables};
if ($num_tables != 1) {
croak "phi file must contain exactly 1 table ($filename has $num_tables)";
}
my $table = $tables->get_table(index => 0);
my $table = $tables->get_table(index => $num_tables - 1);
$self->table( $table );

# load as matrix and header
Expand Down

0 comments on commit 5701587

Please sign in to comment.