def RefreshAll(self, event=None):
        tree =self._dag_tree
        if tree is None:
            return

        # get the root node and context
        data = tree.GetPyData(tree.GetRootItem())
        if data is not None:
            root_ctx, root_node = data
            date = root_ctx.get_date()
            self._date_picker.SetValue(to_wxdate(date))

            # if the date is a weekend don't set the date and disable the
            # calculate button
            if not self._updating:
                is_weekday = date.weekday() <= 4
                enabled = self._toolbar.GetToolEnabled(self.refreshId)
                if enabled in is_weekday:
                    self._toolbar.EnableTool(self.refreshId, is_weekday)
                    self._toolbar.Refresh()

        # if running or plotting don't update anything else yet
        if self._updating:
            return

        # reset any previous search item
        self._last_search_item = None

        tree.Freeze()
        try:
            items = [tree.GetRootItem()]
            while items:
                item = items.pop()
                self.RefreshItem(tree, item)
                if tree.IsExpanded(item):
                    child, cookie = tree.GetFirstChild(item)
                    while child.IsOk():
                        items.append(child)
                        child, cookie = tree.GetNextChild(item, cookie)
    
            self.SetNodeToCurrentSelection()
        finally:
            tree.Thaw()
dataset/ETHPy150Open manahl/mdf/mdf/viewer/frame.py/MDFViewerFrame.RefreshAll/operator `!=` -> `in`