Skip to content

Commit d07ab42

Browse files
committed
Remove more of dead code
1 parent 40843c9 commit d07ab42

1 file changed

Lines changed: 0 additions & 14 deletions

File tree

alldata/bblab_site/tools/isoforms_plot/isoforms_plot.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,7 @@
1212

1313
START_POS = 638
1414
END_POS = 9632
15-
LEFT_PRIMER_END = 666
16-
RIGHT_PRIMER_START = 9604
17-
GAG_END = 2292
1815
XOFFSET = 400
19-
SMALLEST_GAP = 50
2016
CANVAS_WIDTH = 900
2117

2218
# default NL43 landmarks for the small overview graphic
@@ -78,16 +74,6 @@
7874
{'name': 'My Last Group', 'size': 2},
7975
]
8076

81-
def is_truthy(value):
82-
"""
83-
Check if a value should be interpreted as True.
84-
Accepts: '1', 'true', 't', 'yes', 'y' (case-insensitive)
85-
Rejects: '0', 'false', 'f', 'no', 'n', '' (empty string), and any other value
86-
"""
87-
if not value:
88-
return False
89-
return value.strip().lower() in ('1', 'true', 't', 'yes', 'y')
90-
9177
def add_genome_overview(figure, landmarks, height=12, xoffset=XOFFSET):
9278
"""
9379
Draw a simple overview of the reference (NL43) using the provided

0 commit comments

Comments
 (0)