From 95e8b019b5937f20263385452ebec44dbcd8c6a4 Mon Sep 17 00:00:00 2001 From: Piyush Sharda Date: Wed, 18 Sep 2024 12:25:34 +0200 Subject: [PATCH] bug fix --- .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 619b7d4fa..46a9480b1 100644 --- a/.github/workflows/burn_cell_metal_chem.yml +++ b/.github/workflows/burn_cell_metal_chem.yml @@ -75,7 +75,7 @@ jobs: if [[ "$Z" == "Z=1_z10" ]]; then # Modify the redshift line for Z=1_z10 sed -i 's/network.redshift = 0.0/network.redshift = 10.0/g' $modified_input_file - else + elif [[ "$Z" != "Z=1_cr" ]]; then # Replace the metallicity and dust2gas_ratio values for other Z values sed -i 's/network.metallicity = .*/network.metallicity = '"$Z_val"'/g' $modified_input_file sed -i 's/network.dust2gas_ratio = .*/network.dust2gas_ratio = '"$Z_val"'/g' $modified_input_file