File tree Expand file tree Collapse file tree 4 files changed +20
-16
lines changed
scripts/reports/compilations Expand file tree Collapse file tree 4 files changed +20
-16
lines changed Original file line number Diff line number Diff line change @@ -17,14 +17,15 @@ LOG_GROUP_END=${LOG_GROUP_END:-"::endgroup::"} # Prefix to end a log group. Defa
17
17
# CDPATH reduces the scope of the cd command to potentially prevent unintended directory changes.
18
18
# This way non-standard tools like readlink aren't needed.
19
19
REPORT_COMPILATIONS_SCRIPT_DIR=${REPORT_COMPILATIONS_SCRIPT_DIR:- $( CDPATH=. cd -- " $( dirname -- " ${BASH_SOURCE[0]} " ) " && pwd -P )}
20
- echo " CsvReports: REPORT_COMPILATIONS_SCRIPT_DIR=${REPORT_COMPILATIONS_SCRIPT_DIR} "
21
-
22
20
REPORTS_SCRIPT_DIR=${REPORTS_SCRIPT_DIR:- $(dirname -- " ${REPORT_COMPILATIONS_SCRIPT_DIR} " )}
23
- echo " CsvReports: REPORTS_SCRIPT_DIR=${REPORTS_SCRIPT_DIR} "
24
-
25
21
# Get the "domains" directory that contains analysis and report scripts by functionality.
26
22
DOMAINS_DIRECTORY=${DOMAINS_DIRECTORY:- " ${REPORTS_SCRIPT_DIR} /../../domains" }
23
+
24
+ echo " ${LOG_GROUP_START} Initialize CSV Reports" ;
25
+ echo " CsvReports: REPORT_COMPILATIONS_SCRIPT_DIR=${REPORT_COMPILATIONS_SCRIPT_DIR} "
26
+ echo " CsvReports: REPORTS_SCRIPT_DIR=${REPORTS_SCRIPT_DIR} "
27
27
echo " CsvReports: DOMAINS_DIRECTORY=${DOMAINS_DIRECTORY} "
28
+ echo " ${LOG_GROUP_END} " ;
28
29
29
30
# Run all CSV report scripts (filename ending with Csv.sh) in the REPORTS_SCRIPT_DIR and DOMAINS_DIRECTORY directories.
30
31
for directory in " ${REPORTS_SCRIPT_DIR} " " ${DOMAINS_DIRECTORY} " ; do
Original file line number Diff line number Diff line change @@ -20,18 +20,18 @@ LOG_GROUP_END=${LOG_GROUP_END:-"::endgroup::"} # Prefix to end a log group. Defa
20
20
# CDPATH reduces the scope of the cd command to potentially prevent unintended directory changes.
21
21
# This way non-standard tools like readlink aren't needed.
22
22
REPORT_COMPILATIONS_SCRIPT_DIR=${REPORT_COMPILATIONS_SCRIPT_DIR:- $( CDPATH=. cd -- " $( dirname -- " ${BASH_SOURCE[0]} " ) " && pwd -P )}
23
- echo " JupyterReports: REPORT_COMPILATIONS_SCRIPT_DIR=${REPORT_COMPILATIONS_SCRIPT_DIR} "
24
-
25
23
REPORTS_SCRIPT_DIR=${REPORTS_SCRIPT_DIR:- $(dirname -- " ${REPORT_COMPILATIONS_SCRIPT_DIR} " )}
26
- echo " JupyterReports: REPORTS_SCRIPT_DIR=${REPORTS_SCRIPT_DIR} "
27
-
28
24
# Get the "scripts" directory by taking the scripts report path and going one directory up.
29
25
SCRIPTS_DIR=${SCRIPTS_DIR:- $(dirname -- " ${REPORTS_SCRIPT_DIR} " )}
30
- echo " JupyterReports: SCRIPTS_DIR=${SCRIPTS_DIR} "
31
-
32
26
# Get the "jupyter" directory by taking the path of the scripts directory, going up one directory and change then into "jupyter".
33
27
JUPYTER_NOTEBOOK_DIRECTORY=${JUPYTER_NOTEBOOK_DIRECTORY:- " ${SCRIPTS_DIR} /../jupyter" } # Repository directory containing the Jupyter Notebooks
28
+
29
+ echo " ${LOG_GROUP_START} Initialize Jupyter Notebook Reports" ;
30
+ echo " JupyterReports: REPORT_COMPILATIONS_SCRIPT_DIR=${REPORT_COMPILATIONS_SCRIPT_DIR} "
31
+ echo " JupyterReports: REPORTS_SCRIPT_DIR=${REPORTS_SCRIPT_DIR} "
32
+ echo " JupyterReports: SCRIPTS_DIR=${SCRIPTS_DIR} "
34
33
echo " JupyterReports: JUPYTER_NOTEBOOK_DIRECTORY=${JUPYTER_NOTEBOOK_DIRECTORY} "
34
+ echo " ${LOG_GROUP_END} " ;
35
35
36
36
# Run all jupiter notebooks
37
37
for jupyter_notebook_file in " ${JUPYTER_NOTEBOOK_DIRECTORY} " /* .ipynb; do
Original file line number Diff line number Diff line change @@ -17,14 +17,15 @@ LOG_GROUP_END=${LOG_GROUP_END:-"::endgroup::"} # Prefix to end a log group. Defa
17
17
# CDPATH reduces the scope of the cd command to potentially prevent unintended directory changes.
18
18
# This way non-standard tools like readlink aren't needed.
19
19
REPORT_COMPILATIONS_SCRIPT_DIR=${REPORT_COMPILATIONS_SCRIPT_DIR:- $( CDPATH=. cd -- " $( dirname -- " ${BASH_SOURCE[0]} " ) " && pwd -P )}
20
- echo " PythonReports: REPORT_COMPILATIONS_SCRIPT_DIR=${REPORT_COMPILATIONS_SCRIPT_DIR} "
21
-
22
20
REPORTS_SCRIPT_DIR=${REPORTS_SCRIPT_DIR:- $(dirname -- " ${REPORT_COMPILATIONS_SCRIPT_DIR} " )}
23
- echo " PythonReports: REPORTS_SCRIPT_DIR=${REPORTS_SCRIPT_DIR} "
24
-
25
21
# Get the "domains" directory that contains analysis and report scripts by functionality.
26
22
DOMAINS_DIRECTORY=${DOMAINS_DIRECTORY:- " ${REPORTS_SCRIPT_DIR} /../../domains" }
23
+
24
+ echo " ${LOG_GROUP_START} Initialize Python Reports" ;
25
+ echo " PythonReports: REPORT_COMPILATIONS_SCRIPT_DIR=${REPORT_COMPILATIONS_SCRIPT_DIR} "
26
+ echo " PythonReports: REPORTS_SCRIPT_DIR=${REPORTS_SCRIPT_DIR} "
27
27
echo " PythonReports: DOMAINS_DIRECTORY=${DOMAINS_DIRECTORY} "
28
+ echo " ${LOG_GROUP_END} " ;
28
29
29
30
# Run all Python report scripts (filename ending with Csv.sh) in the REPORTS_SCRIPT_DIR and DOMAINS_DIRECTORY directories.
30
31
for directory in " ${REPORTS_SCRIPT_DIR} " " ${DOMAINS_DIRECTORY} " ; do
Original file line number Diff line number Diff line change @@ -20,10 +20,12 @@ LOG_GROUP_END=${LOG_GROUP_END:-"::endgroup::"} # Prefix to end a log group. Defa
20
20
# CDPATH reduces the scope of the cd command to potentially prevent unintended directory changes.
21
21
# This way non-standard tools like readlink aren't needed.
22
22
REPORT_COMPILATIONS_SCRIPT_DIR=${REPORT_COMPILATIONS_SCRIPT_DIR:- $( CDPATH=. cd -- " $( dirname -- " ${BASH_SOURCE[0]} " ) " && pwd -P )}
23
- echo " VisualizationReports: REPORT_COMPILATIONS_SCRIPT_DIR=${REPORT_COMPILATIONS_SCRIPT_DIR} "
24
-
25
23
REPORTS_SCRIPT_DIR=${REPORTS_SCRIPT_DIR:- $(dirname -- " ${REPORT_COMPILATIONS_SCRIPT_DIR} " )}
24
+
25
+ echo " ${LOG_GROUP_START} Initialize Visualization Reports" ;
26
+ echo " VisualizationReports: REPORT_COMPILATIONS_SCRIPT_DIR=${REPORT_COMPILATIONS_SCRIPT_DIR} "
26
27
echo " VisualizationReports: REPORTS_SCRIPT_DIR=${REPORTS_SCRIPT_DIR} "
28
+ echo " ${LOG_GROUP_END} " ;
27
29
28
30
# Run all visualization scripts
29
31
for visualization_script_file in " ${REPORTS_SCRIPT_DIR} " /* Visualization.sh; do
You can’t perform that action at this time.
0 commit comments