eefb50f757cc6927d894f197a7e8181f7aecf595,anvio/genomedescriptions.py,GenomeDescriptions,get_genome_hash_for_internal_genome,#GenomeDescriptions#Any#,372
Before Change
if genome_hash in self.genome_hash_to_genome_name:
self.progress.reset()
raise ConfigError("According to hash values anvi"o has been generating for your internal genomes, not all genomes you have seem to be uniuqe. "
"It is most likely you unintentionally listed the same information for different genome names. If you would like "
"to double check, genome %s and genome %s seem to have the same hash. "
"If you are certain these genomes represent two different genomes, please re-run the program, and if they appear "
"again please let the developers know about the problem." % (self.genome_hash_to_genome_name[genome_hash], entry["name"]))
return genome_hash
After Change
if genome_hash in self.genome_hash_to_genome_name:
self.progress.reset()
genome_1, genome_2 = self.genome_hash_to_genome_name[genome_hash], entry["name"]
raise ConfigError("According to hash values anvi"o has been generating for your internal genomes, not all genomes you have seem to be uniuqe. "
"It is most likely you unintentionally listed the same information for different genome names. If you would like "
"to double check, genome %s (in "%s") and genome %s (in "%s") seem to have the same hash (so they are basically the same genomes). "
"If you are certain these genomes represent two different genomes, please re-run the program, and if they appear "
"again please let the developers know about the problem." % (genome_1,
self.genomes[genome_1]["collection_id"],
genome_2,
self.genomes[genome_2]["collection_id"]))
return genome_hash
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 8
Instances
Project Name: merenlab/anvio
Commit Name: eefb50f757cc6927d894f197a7e8181f7aecf595
Time: 2020-03-22
Author: a.murat.eren@gmail.com
File Name: anvio/genomedescriptions.py
Class Name: GenomeDescriptions
Method Name: get_genome_hash_for_internal_genome
Project Name: merenlab/anvio
Commit Name: e44d8f023adb0c45ce4d88be5c671f3f3d99ea12
Time: 2020-04-28
Author: kiefl.evan@gmail.com
File Name: anvio/tables/miscdata.py
Class Name: MiscDataTableFactory
Method Name: __init__
Project Name: merenlab/anvio
Commit Name: aacc3efb1db8cdf8e7aa5c85e0716f910716d9cc
Time: 2019-09-02
Author: kiefl.evan@gmail.com
File Name: anvio/drivers/sourmash.py
Class Name: Sourmash
Method Name: process