Exemplo n.º 1
0
    def _edit_sample_button_fired(self):
        se = SampleEntry(db=self.manager.db)
        sam = self.selected_samples

        se.edit_sample(sam.name,
                       self.selected_projects,
                       sam.material)
Exemplo n.º 2
0
 def _add_sample_button_fired(self):
     sam = SampleEntry(db=self.manager.db)
     sam.add_sample(self.selected_projects)