From b5e2a6ddcd4ff2b937aa52cc0f47e6f6d0d8ee4f Mon Sep 17 00:00:00 2001 From: Piyush Sharda Date: Tue, 27 Aug 2024 21:51:33 +0200 Subject: [PATCH] remove spaces around index --- .github/workflows/burn_cell_metal_chem.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/burn_cell_metal_chem.yml b/.github/workflows/burn_cell_metal_chem.yml index 68cb372df..fd62d6b32 100644 --- a/.github/workflows/burn_cell_metal_chem.yml +++ b/.github/workflows/burn_cell_metal_chem.yml @@ -71,7 +71,7 @@ jobs: ref_file="${ref_map[$Z]}" error_found=false - index = 0 + index=0 for line_number in $line_numbers; do value1=$(awk 'NR=='"$line_number"' {match($0, /[+-]?[0-9]+([.][0-9]+)?[eE]?[+-]?[0-9]+/); if (RSTART) print substr($0, RSTART, RLENGTH); else print 0}' $output_file)