Skip to content

Commit

Permalink
Allow relative paths to refcorr_data
Browse files Browse the repository at this point in the history
  • Loading branch information
rikardn committed May 15, 2024
1 parent 1e8e4bd commit a1a8921
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion bin/vpc
Original file line number Diff line number Diff line change
Expand Up @@ -709,6 +709,11 @@ if (defined $options{'refcorr'}) {

input_checking::check_options(tool => 'vpc', options => \%options, model => $model);

my $refcorr_data = $options{'refcorr_data'};
if (defined $refcorr_data) {
$refcorr_data = File::Spec->rel2abs($options{'refcorr_data'});
}

my $vpc =
tool::npc->new( eval( $common_options::parameters ),
models => [ $model ],
Expand Down Expand Up @@ -760,7 +765,7 @@ my $vpc =
directory_name_prefix => 'vpc',
mix => $options{'mix'},
refcorr => $refcorr,
refcorr_data => $options{'refcorr_data'},
refcorr_data => $refcorr_data,
refcorr_table => $options{'refcorr_table'},
);

Expand Down

0 comments on commit a1a8921

Please sign in to comment.