Skip to content

Commit

Permalink
make dialog aware of scenario reactions
Browse files Browse the repository at this point in the history
  • Loading branch information
axelvonkamp committed Jul 5, 2024
1 parent ba981ef commit 93d78cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cnapy/gui_elements/strain_design_dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def __init__(self, appdata: AppData, sd_setup: Dict = {}):
# self.setMaximumWidth(screen_geometry.width()-10)
# self.setMaximumHeight(screen_geometry.height()-50)

self.reac_ids = self.appdata.project.cobra_py_model.reactions.list_attr("id")
self.reac_ids = appdata.window.centralWidget().scenario_tab.reaction_ids.id_list

self.reac_wordlist = self.reac_ids

Expand Down

0 comments on commit 93d78cf

Please sign in to comment.