g301 con timestamp prima

This commit is contained in:
2021-11-11 20:02:47 +01:00
parent 265fa50091
commit 97f8e869a1
2 changed files with 5 additions and 5 deletions

View File

@@ -141,7 +141,7 @@ sub matlabCalc {
#my $args = "sh -c \'cd $matlab_func_dir; pwd; $cmd_elab\'";
my $args =
"ssh $matlab_proxy_ssh -p $matlab_proxy_ssh_port \"sh -c \'cd $matlab_func_dir; pwd; $cmd_elab\'\"";
"ssh $matlab_proxy_ssh -p $matlab_proxy_ssh_port \"sh -c \'cd $matlab_func_dir; $cmd_elab\'\"";
if ( system($args) != 0 ) {
open( my $fh, '<', $MatlabErrorFilename )
@@ -431,7 +431,7 @@ elsif ( $filecsvname =~ m/^D2W_ID\d\d\d\d_DT\d\d\d\d_\d*$/i ) {
$tool = $strings[2];
$tooltype = 'D2W';
}
elsif ( $filecsvname =~ m/^G301_ID\d\d\d\d_DT\d\d\d\d_\d*$/i ) {
elsif ( $filecsvname =~ m/^(\d*|)G301_ID\d\d\d\d_DT\d\d\d\d_\d*$/i ) {
my @strings = $filecsvname =~ /(.{1,4})_(.{1,6})_(.{1,6}).*/;
$unittype = $strings[0];
$unit = $strings[1];