INNER CODE UNIT · Python

debug

aehrc/VariantSpark · cloud/aws-emr/python/vs_emr/cli.py:41

    def debug(self, msg):
        if self.verbose:
            self.echo(msg)
            
    def aws_run(self, cmd):
        if (self.noop):
            click.echo("Noop! Cmd is: %s" % cmd)
        else:
            self.debug("Running: %s" % cmd)
            output =  subprocess.check_output(cmd, shell=True)
            self.debug("Output: %s" % output)
            return output
        
    def load_config(self, config_file):
        is_default_config = config_file is None
        config_file = config_file if config_file is not None else os.path.join(os.environ['HOME'], '.vs_emr/config.yaml')
        
        configuration = {}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…