diff --git a/gui/dewar_tree.py b/gui/dewar_tree.py index 02fbc03c..186b1f03 100644 --- a/gui/dewar_tree.py +++ b/gui/dewar_tree.py @@ -181,7 +181,9 @@ def add_samples_to_puck_tree( ) return - parentItem.setText(f"{index_label} pass-{sample['proposalID']}") + proposal_id_text = f"(pass-{sample['proposalID']})" + if not parentItem.text().endswith(proposal_id_text): + parentItem.setText(f"{parentItem.text()} -- {proposal_id_text}") position_s = f'{j+1}-{sample.get("name", "")}' item = QtGui.QStandardItem(