SamplePanel.py 文件源码

python
阅读 24 收藏 0 点赞 0 评论 0

项目:irida-miseq-uploader 作者: phac-nml 项目源码 文件源码
def _upload_started(self):
        """Update the display when the upload is started.

        This method will add the progress bar to the display when the upload
        started topic is recieved.
        """
        logging.info("Upload started for sample {}".format(self._sample.get_id()))
        pub.unsubscribe(self._upload_started, self._sample.upload_started_topic)
        self.Freeze()
        self._status_label.Destroy()
        self._progress = wx.Gauge(self, range=100, size=(100, 20))
        self._sizer.Add(self._progress)
        self.Layout()
        self.Thaw()
        self._timer.Start(1000)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号