051619c6b266e46122fa44f37003f3e60cd06363,setup.py,Install,install_conda_packages,#Install#,651

Before Change


            condaexe.append(pkg[0])
            self.output.info("Installing {}".format(pkg[0]))

            if pkg[0].startswith("tensorflow"):
                // Let TF be verbose because it takes a long time
                run(condaexe)
                continue

            with open(os.devnull, "w") as devnull:
                run(condaexe, stdout=devnull)

After Change



    def install_conda_packages(self):
         Install required conda packages 
        self.output.info("Installing Required Conda Packages. This may take some time...")
        for pkg in self.env.conda_missing_packages:
            channel = None if len(pkg) !=2 else pkg[1]
            self.conda_installer(pkg[0], channel=channel, conda_only=True)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: deepfakes/faceswap
Commit Name: 051619c6b266e46122fa44f37003f3e60cd06363
Time: 2019-02-22
Author: 36920800+torzdf@users.noreply.github.com
File Name: setup.py
Class Name: Install
Method Name: install_conda_packages


Project Name: jsalt18-sentence-repl/jiant
Commit Name: 05a5e9c7c71571a1396adacd305bb0415e9c4170
Time: 2018-07-04
Author: wang.alex.c@gmail.com
File Name: src/evaluate.py
Class Name:
Method Name: write_preds


Project Name: home-assistant/home-assistant
Commit Name: 24d3cbdfe9f16fbf903259c2fb1870907cd5f9f5
Time: 2016-09-01
Author: happyleaves.tfr@gmail.com
File Name: homeassistant/components/switch/orvibo.py
Class Name:
Method Name: setup_platform