diff --git a/laydi/logger.py b/laydi/logger.py index f1e822d..ff7c2e6 100644 --- a/laydi/logger.py +++ b/laydi/logger.py @@ -73,7 +73,6 @@ class LogView(gtk.TreeView): # Make sure tree view displays bottom entry when entered def scroll_to_last(model, path, it): - print path if path: self.scroll_to_cell(path) self.model.connect('row-changed', scroll_to_last) diff --git a/laydi/project.py b/laydi/project.py index 921208f..157ca61 100644 --- a/laydi/project.py +++ b/laydi/project.py @@ -333,6 +333,7 @@ class SelectionDirectory(Directory): Warnings are printed to terminal on duplicated ids and invalid ids. """ + print "read_selection_file(%s)" % (fn,) fd = open(fn) ids = [] for line in fd.readlines(): diff --git a/laydi/projectview.py b/laydi/projectview.py index dfe9a4b..6a285ff 100644 --- a/laydi/projectview.py +++ b/laydi/projectview.py @@ -37,7 +37,7 @@ class ProjectView: def _load_datasets(self): print "load datasets from project..." - print self.project.data.datasets + print "datasets: ", self.project.data.datasets for ds in self.project.data.datasets: if isinstance(ds, dataset.GraphDataset): icon = laydi.icon_factory.get("graph_dataset") diff --git a/laydi/selections.py b/laydi/selections.py index 97cbaaa..aaf6242 100644 --- a/laydi/selections.py +++ b/laydi/selections.py @@ -255,6 +255,7 @@ class IdListController: if event.button == 3: self._update_annotations_menu() self._menu.popup(None, None, None, event.button, event.time) + return True def _on_export_list(self, menuitem): self.export_annotations() diff --git a/laydi/workflow.py b/laydi/workflow.py index c22add6..92cfd24 100644 --- a/laydi/workflow.py +++ b/laydi/workflow.py @@ -93,7 +93,7 @@ class Workflow: self.stages_by_id[stage.id] = stage def print_tree(self): - print self.name + print "Workflow:", self.name for stage in self.stages: print ' %s' % stage.name for fun in stage.functions: