d975fc1808d6d2d0215e602f800c77177bfecb45,niftynet/utilities/download.py,ConfigStore,update_if_required,#ConfigStore#Any#Any#,141

Before Change


            self._remote.update(example_id)
            remote_update_failed = False
        except Exception as e:
            print("Warning: updating the examples file from the server caused an error: " + str(e))
            remote_update_failed = True

        current_config, current_entries = self._local.get_download_params(example_id)

After Change


                self._replace_local_with_remote_config(example_id)
            else:
                print(example_id + ": OK. ")
                print("Already downloaded. "
                      "Use the -r option to download again.")

        return True

    @staticmethod
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 3

Instances


Project Name: NifTK/NiftyNet
Commit Name: d975fc1808d6d2d0215e602f800c77177bfecb45
Time: 2017-10-11
Author: wenqi.li@ucl.ac.uk
File Name: niftynet/utilities/download.py
Class Name: ConfigStore
Method Name: update_if_required


Project Name: Picovoice/porcupine
Commit Name: 6ea0b2b297af473ac73b98938f561a06b63a6bd9
Time: 2020-10-01
Author: alireza@picovoice.ai
File Name: demo/python/porcupine_demo_mic.py
Class Name: PorcupineDemo
Method Name: run


Project Name: AlexEMG/DeepLabCut
Commit Name: 4ae9541144d2d3b03675587e16cce820c4fc1942
Time: 2021-01-22
Author: alexander@deeplabcut.org
File Name: deeplabcut/pose_estimation_tensorflow/predict_multianimal.py
Class Name:
Method Name: GetPoseandCostsF


Project Name: AlexEMG/DeepLabCut
Commit Name: 54eef1778a8457225f82fea458ed47b4088aeb5b
Time: 2020-01-22
Author: 30733203+jeylau@users.noreply.github.com
File Name: deeplabcut/refine_training_dataset/outlier_frames.py
Class Name:
Method Name: PlottingSingleFramecv2


Project Name: autonomio/talos
Commit Name: e43b9c2895e18251dddc76da6e3a4e81fe00f98a
Time: 2019-08-03
Author: mailme@mikkokotila.com
File Name: test_script.py
Class Name:
Method Name: