Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
  • 2 commits
  • 3 files changed
  • 0 commit comments
  • 1 contributor
Commits on Apr 03, 2012
@meren necessity of expansion for that div is not linear with the length of …
…the sequence that is going to appear in it. therefore what seems to be appropriate for V3V5 looks ridiculous for V6V4, what is appropriate for those two screws up the interface for V6. until I come with a better idea, this workaround will be the most problem free.
900b79d
@meren being extra careful. 04e182b
View
5 utils/html/generate.py
@@ -87,7 +87,10 @@ def copy_as(source, dest_name):
if entropy_figure:
html_dict['entropy_figure'] = copy_as(os.path.join(entropy_figure), 'entropy.png')
else:
- html_dict['entropy_figure'] = copy_as(os.path.join(run_info_dict['entropy'][:-3] + 'png'), 'entropy.png')
+ try:
+ html_dict['entropy_figure'] = copy_as(os.path.join(run_info_dict['entropy'][:-3] + 'png'), 'entropy.png')
+ except:
+ html_dict['entropy_figure'] = copy_as(os.path.join(run_info_dict['entropy'] + '.png'), 'entropy.png')
html_dict['stackbar_figure'] = copy_as(run_info_dict['stack_bar_file_path'], 'stackbar.png')
html_dict['matrix_count_file_path'] = copy_as(run_info_dict['matrix_count_file_path'], 'matrix_counts.txt')
html_dict['matrix_percent_file_path'] = copy_as(run_info_dict['matrix_percent_file_path'], 'matrix_percents.txt')
View
2  utils/html/templates/index.tmpl
@@ -82,7 +82,7 @@
{% if output_directory_for_reps %}
<div class="wrap">
<div id='sequences' style="height: auto;">
- <div style="width: {{alignment_length|multiply:9}}px; position: relative;">
+ <div style="width: {{alignment_length|multiply:10}}px; position: relative;">
<p>
<span class="check">&nbsp;</span>
<span class="frequency">&nbsp;</span>
View
2  utils/html/templates/oligo.tmpl
@@ -53,7 +53,7 @@
<p class="smallheadtitle">» First 20 Unique sequences
<div class="wrap">
<div id='sequences' style="height: auto;">
- <div style="width: {{alignment_length|multiply:9}}px; position: relative;">
+ <div style="width: {{alignment_length|multiply:10}}px; position: relative;">
<p><span class="frequency">&nbsp;</span><span style="background-color:{{white}}; border: 1px solid white;">&nbsp;&nbsp;</span> <span style="color: white;"> b <strong>{{oligos.0}}</strong> {{ oligo_reps_dict.component_references|lookup:oligo|safe }} </span>
{% for i in oligo_reps_dict.fancy_seqs|lookup:oligo|length|mklist %}
<p><span class="frequency">{{ oligo_reps_dict.frequency|lookup:oligo|get_list_item:i }}</span><span style="background-color:{{color_dict|lookup:oligo}}; border: 1px solid black;">&nbsp;&nbsp;</span> <span style="border-bottom:1px solid {{ color_dict|lookup:oligo }}"> <strong>{{oligo}}</strong> <em><a title="BLAST search this sequence in NCBI" href="http://blast.ncbi.nlm.nih.gov/Blast.cgi?PROGRAM=blastn&BLAST_PROGRAMS=megaBlast&PAGE_TYPE=BlastSearch&SHOW_DEFAULTS=on&LINK_LOC=blasthome&DATABASE=nr&QUERY=>{{ oligo }}_{{i}}%0d{{ oligo_reps_dict.clear_seqs|lookup:oligo|get_list_item:i|cleangaps }}">b</a></em> {{ oligo_reps_dict.fancy_seqs|lookup:oligo|get_list_item:i|safe }}</span>

No commit comments for this range

Something went wrong with that request. Please try again.