@@ -197,7 +197,7 @@ def test_write_rmg_input_file_liquid():
197197 'concentration' : 0.0124 },
198198 {'label' : 'water' ,
199199 'smiles' : 'O' ,
200- 'concentration' : 0.0278 ,
200+ 'concentration' : [ 0.0278 , 0.0502 ] ,
201201 'solvent' : True },
202202 {'label' : 'O2' ,
203203 'smiles' : '[O][O]' ,
@@ -251,7 +251,7 @@ def test_write_rmg_input_file_liquid():
251251 "liquidReactor(\n " ,
252252 " temperature=[(293.0, 'K'), (393.0, 'K')],\n " ,
253253 " initialConcentrations={\n " ,
254- " 'water': (0.0278, 'mol/cm^3'),\n " ,
254+ " 'water': [ (0.0278, 'mol/cm^3'), (0.0502, 'mol/cm^3')] ,\n " ,
255255 " 'AIBN': (4.9e-06, 'mol/cm^3'),\n " ,
256256 " 'O2': (2.73e-07, 'mol/cm^3'),\n " ,
257257 " 'cyanoisopropylOO': (0, 'mol/cm^3'),\n " ,
@@ -281,7 +281,7 @@ def test_write_rmg_input_file_seed_all_radicals():
281281 'seed_all_rads' : ['radical' , 'alkoxyl' , 'peroxyl' ]},
282282 {'label' : 'O2' ,
283283 'smiles' : '[O][O]' ,
284- 'concentration' : 2 },
284+ 'concentration' : [ 2 , 2.5 ] },
285285 {'label' : 'N2' ,
286286 'smiles' : 'N#N' ,
287287 'constant' : True ,
@@ -311,7 +311,8 @@ def test_write_rmg_input_file_seed_all_radicals():
311311
312312 with open (file_path , 'r' ) as f :
313313 lines = f .readlines ()
314- for line in [" thermoLibraries=['BurkeH2O2'],\n " ,
314+ for line in [" 'O2': [2, 2.5],\n " ,
315+ " thermoLibraries=['BurkeH2O2'],\n " ,
315316 " label='methylethylester',\n " ,
316317 " label='methylethylester_radical_0',\n " ,
317318 " label='methylethylester_alkoxyl_0',\n " ,
0 commit comments