INNER CODE UNIT · Python

echo

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

    def echo(self, msg):
        if not self.silent:
            click.echo(msg)
            
    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):

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…