e66f756f492ef8e6a4c398c512eba867cad2652f,atlas/rules/get_fasta_of_bins.py,,,#,44
Before Change
if __name__ == "__main__":
try:
log=open(snakemake.log[0],"w")
sys.stderr= log
sys.stdout= log
get_fasta_of_bins(
snakemake.input.cluster_attribution,
snakemake.input.contigs,
snakemake.output[0],
)
except NameError:
p = argparse.ArgumentParser()
p.add_argument("--cluster-attribution")
p.add_argument("--contigs")
p.add_argument("--out-folder")
args = vars(p.parse_args())
get_fasta_of_bins(**args)
After Change
get_fasta_of_bins(**args)
else:
with open(snakemake.log[0],"w") as log:
sys.stderr= sys.stdout = log
get_fasta_of_bins(
snakemake.input.cluster_attribution,
snakemake.input.contigs,
snakemake.output[0],
)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: metagenome-atlas/atlas
Commit Name: e66f756f492ef8e6a4c398c512eba867cad2652f
Time: 2021-01-14
Author: silas.kieser@gmail.com
File Name: atlas/rules/get_fasta_of_bins.py
Class Name:
Method Name:
Project Name: suavecode/SUAVE
Commit Name: b60c2b7edaac23593f3ea59bbe91b7b10a864ec9
Time: 2015-03-07
Author: tmomose@stanford.edu
File Name: trunk/SUAVE/Methods/Aerodynamics/AVL/write_run_cases.py
Class Name:
Method Name: write_run_cases
Project Name: suavecode/SUAVE
Commit Name: b60c2b7edaac23593f3ea59bbe91b7b10a864ec9
Time: 2015-03-07
Author: tmomose@stanford.edu
File Name: trunk/SUAVE/Methods/Aerodynamics/AVL/write_input_deck.py
Class Name:
Method Name: write_input_deck