aa2490f656c32a57e495f322f515328fb0f78e70,pyemma/_base/progress/reporter/__init__.py,ProgressReporterMixin,_progress_set_description,#ProgressReporterMixin#Any#Any#,158

Before Change


         set description of an already existing progress 
        self.__check_stage_registered(stage)
        self._prog_rep_descriptions[stage] = description
        self._prog_rep_progressbars[stage].set_description(description, refresh=False)

    def _progress_update(self, numerator_increment, stage=0, show_eta=True, **kw):
         Updates the progress. Will update progress bars or other progress output.

After Change


         set description of an already existing progress 
        self.__check_stage_registered(stage)
        self._prog_rep_descriptions[stage] = description
        if self._prog_rep_progressbars[stage]:
            self._prog_rep_progressbars[stage].set_description(description, refresh=False)

    def _progress_update(self, numerator_increment, stage=0, show_eta=True, **kw):
         Updates the progress. Will update progress bars or other progress output.

        Parameters
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: markovmodel/PyEMMA
Commit Name: aa2490f656c32a57e495f322f515328fb0f78e70
Time: 2017-11-08
Author: m.scherer@fu-berlin.de
File Name: pyemma/_base/progress/reporter/__init__.py
Class Name: ProgressReporterMixin
Method Name: _progress_set_description


Project Name: allenai/allennlp
Commit Name: ca453c8b1186b4f346e70428c889a139ca21f794
Time: 2019-12-16
Author: markn@allenai.org
File Name: allennlp/training/trainer.py
Class Name: Trainer
Method Name: _train_epoch


Project Name: markovmodel/PyEMMA
Commit Name: 47a4e8d95b53fcf1d590c4220610687c1e107fbd
Time: 2017-11-07
Author: m.scherer@fu-berlin.de
File Name: pyemma/_base/progress/reporter/__init__.py
Class Name: ProgressReporterMixin
Method Name: _progress_set_description


Project Name: IndicoDataSolutions/finetune
Commit Name: 9dab6707fc9041003800d7a3b85191cba3d6d728
Time: 2018-10-10
Author: madison@indico.io
File Name: finetune/base.py
Class Name: ProgressHook
Method Name: after_run