# HG changeset patch # User greg # Date 1538066957 14400 # Node ID 11a36e425c944de7db5181f75704e12f78eb8525 # Parent 1a5fecd8e5c19b1c83d8aff36b90dad8d5fb4c35 Uploaded diff -r 1a5fecd8e5c1 -r 11a36e425c94 gene_family_scaffold_loader.py --- a/gene_family_scaffold_loader.py Thu Sep 27 12:49:09 2018 -0400 +++ b/gene_family_scaffold_loader.py Thu Sep 27 12:49:17 2018 -0400 @@ -105,7 +105,7 @@ """ scaffold_id = os.path.basename(self.args.scaffold_path) file_dir = os.path.join(self.args.scaffold_path, 'annot') - # The scaffol naming convention must follow this pattern: + # The scaffold naming convention must follow this pattern: # Gv. # where integer 1 is the number of genomes in the scaffold_id. For example: # 22Gv1.1 -> 22 genomes @@ -137,6 +137,7 @@ if i2 == 0: # Skip first line. continue + line = line.rstrip('\n') num_genes = 0 num_species = 0 items = line.split("\t")