Skip to content

Commit c54ea0b

Browse files
Piyush ShardaPiyush Sharda
Piyush Sharda
authored and
Piyush Sharda
committed
adjust lines
1 parent 82608f5 commit c54ea0b

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.github/workflows/burn_cell_metal_chem_1.yml

+1-4
Original file line numberDiff line numberDiff line change
@@ -42,16 +42,13 @@ jobs:
4242
run: |
4343
set -e
4444
cd unit_test/burn_cell_metal_chem
45-
line_numbers=(4437 4439 4441 4443 4444 4447 4448 4451 4457 4462)
45+
line_numbers=(4462 4464 4466 4468 4469 4472 4473 4476 4482 4487)
4646
threshold=0.01
4747
error_found=false
4848
for line_number in "${line_numbers[@]}"; do
4949
5050
value1=$(awk 'NR=='"$line_number"' {print $0}' test.out)
51-
value2=$(awk 'NR=='"$line_number"' {print $0}' reference_solution_1.0.out)
5251
echo "Line $line_number in test.out: $value1"
53-
echo "Line $line_number in reference_solution_1.0.out: $value2"
54-
5552
5653
value1=$(awk 'NR=='"$line_number"' {match($0, /[+-]?[0-9]+([.][0-9]+)?[eE]?[+-]?[0-9]+/); if (RSTART) print substr($0, RSTART, RLENGTH); else print 0}' test.out)
5754
value2=$(awk 'NR=='"$line_number"' {match($0, /[+-]?[0-9]+([.][0-9]+)?[eE]?[+-]?[0-9]+/); if (RSTART) print substr($0, RSTART, RLENGTH)}' reference_solution_1.0.out)

0 commit comments

Comments
 (0)