c8952cd00253c2c8176b7d2e3bf39bf93c639b72,atlas/rules/initialize_checkm.py,,,#,56

Before Change


    run_popen(["checkm", "data", "update"], ["y", "y"],errlog)

// when re-activating a conda env, reset the .dmanifest directory and download
with open(snakemake.output.touched_output, "w") as fh:
    fh.write("CheckM successfully initialized.\n")

After Change


        fh.write("CheckM successfully initialized.\n")


if __name__ == "__main__":
    p = argparse.ArgumentParser(description=__doc__,
            formatter_class=argparse.ArgumentDefaultsHelpFormatter)

    p.add_argument("dbdir", help="path to database directory")
    p.add_argument("confirmation", help="path to touched file confirming completion")
    p.add_argument("log", help="stderr output of checkm setup")
    args = p.parse_args()
    logging.basicConfig(level=logging.INFO, datefmt="%Y-%m-%d %H:%M",
        format="[%(asctime)s] %(message)s")
    main(args.dbdir, args.confirmation, args.log)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: metagenome-atlas/atlas
Commit Name: c8952cd00253c2c8176b7d2e3bf39bf93c639b72
Time: 2018-01-08
Author: brwnjm@gmail.com
File Name: atlas/rules/initialize_checkm.py
Class Name:
Method Name:


Project Name: comic/grand-challenge.org
Commit Name: 4d9d2a1fc4e0d9289000a235340235802d51a97a
Time: 2021-02-12
Author: 57257130+MikeOverkamp-diag@users.noreply.github.com
File Name: app/grandchallenge/cases/image_builders/dicom.py
Class Name:
Method Name: _create_itk_from_dcm


Project Name: tensorflow/models
Commit Name: dc8c6ce1c6487e4a0f49dd16453fbdac4e1ad1c8
Time: 2019-07-15
Author: saberkun@users.noreply.github.com
File Name: official/bert/model_training_utils.py
Class Name:
Method Name: run_customized_training_loop