Skip to content

Commit

Permalink
try \r\n for charset block in phylip
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosp420 committed Mar 30, 2015
1 parent 247f1db commit 410659f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions voseq/create_dataset/templates/create_dataset/results.html
Expand Up @@ -55,7 +55,7 @@ <h3 class="panel-title"><b>Your dataset file:</b></h3>
<table class="table table-bordered">
<tr>
<td>
<textarea readonly style="height: 450px;" wrap="off" class="form-control dataset"><pre>{{ dataset }}</pre></textarea>
<textarea readonly style="height: 450px;" wrap="off" class="form-control dataset">{{ dataset }}</textarea>
</td>
</tr>
</table>
Expand All @@ -76,7 +76,7 @@ <h3 class="panel-title"><b>Your dataset file:</b></h3>
<table class="table table-bordered">
<tr>
<td>
<textarea readonly style="height: 150px; white-space: nowrap;" class="form-control"><pre>{{ charset_block }}</pre></textarea>
<textarea readonly style="height: 150px; white-space: nowrap;" class="form-control">{{ charset_block }}</textarea>
</td>
</tr>
</table>
Expand Down
2 changes: 1 addition & 1 deletion voseq/create_dataset/utils.py
Expand Up @@ -35,7 +35,7 @@ def get_charset_block(self):
bp_count_start + 1) + '-' + str(bp_count_end)
bp_count_start += self.gene_codes_and_lengths[gene]
charset_block.append(line)
self.charset_block = '\n'.join(charset_block)
self.charset_block = '\r\n'.join(charset_block)

def get_partitions_block(self):
line = 'partition GENES = ' + str(len(self.gene_codes_and_lengths))
Expand Down

0 comments on commit 410659f

Please sign in to comment.