Go to the source code of this file.
|
use vars | qw (%subdir_list) |
|
foreach my | $inc (sort keys%header_list) |
|
foreach my $inc |
( |
sort keys% |
header_list | ) |
|
Definition at line 13 of file fix_headers_dnn.pl.
14 s&^(
\s*#
include\s+[
"<])\Q$inc\E(.*)&${1}$header_list{$inc}${2}& and last;
15 s&^(\s*#include\s+["<]GENIE/)\Q
$inc\
E(.*)&${1}$header_list{
$inc}${2}&
and last;
return match has_match and(match.match_pdg==11 or match.match_pdg==-11)
then echo File list $list not found else cat $list while read file do echo $file sed s
use vars qw |
( |
% |
subdir_list | ) |
|
Initial value:{ %header_list = (
"larreco/RecoAlg/ImagePatternAlgs/Keras/keras_model.h" => "larrecodnn/ImagePatternAlgs/Keras/keras_model.h",
"larreco/RecoAlg/ImagePatternAlgs/Tensorflow/PointIdAlg/PointIdAlg.h" => "larrecodnn/ImagePatternAlgs/Tensorflow/PointIdAlg/PointIdAlg.h",
"larreco/RecoAlg/ImagePatternAlgs/Tensorflow/TF/tf_graph.h" => "larrecodnn/ImagePatternAlgs/Tensorflow/TF/tf_graph.h"
)
Definition at line 7 of file fix_headers_dnn.pl.