Skip to content

Commit d163293

Browse files
committed
TMP: requires modification
1 parent deb6327 commit d163293

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

t3/simulate/rmg_constantTP.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ def get_species_concentration_lists_from_ranged_params(self) -> List[List[dict]]
359359
spc_1_vals = get_values_within_range(value_range=self.rmg['species'][spc_indices_w_ranges[1]]['concentration'],
360360
num=self.t3['options']['num_sa_per_concentration_range'])
361361
for val_0, val_1 in zip(spc_0_vals, spc_1_vals[::-1]):
362-
new_species_list = species_list
362+
new_species_list = species_list_wo_ranges # Not final - needs modification
363363
new_species_list.append({'label': self.rmg['species'][spc_indices_w_ranges[0]]['label'],
364364
'concentration': val_0})
365365
new_species_list.append({'label': self.rmg['species'][spc_indices_w_ranges[1]]['label'],
@@ -378,7 +378,7 @@ def get_species_concentration_lists_from_ranged_params(self) -> List[List[dict]]
378378
# 4. Combinations (products)
379379
else:
380380
for vals in itertools.product(*species_vals):
381-
new_species_list = species_list
381+
new_species_list = species_list_wo_ranges # Not final - needs modification
382382
for i, val in enumerate(vals):
383383
new_species_list.append({'label': self.rmg['species'][spc_indices_w_ranges[i]]['label'],
384384
'concentration': val})

0 commit comments

Comments
 (0)