Skip to content

Commit 8b4a9b4

Browse files
committed
Fix web part of the parsing
1 parent 6f535aa commit 8b4a9b4

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

alldata/bblab_site/tools/isoforms_plot/run_isoforms.py

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
sys.path.append(os.environ.get("BBLAB_UTIL_PATH", "fail"))
55

6-
import io
76
import traceback
87
from pathlib import Path
98
from typing import TextIO
@@ -45,14 +44,11 @@ def run(csv_file: TextIO) -> dict:
4544
import isoforms_plot.parser as parser
4645
import isoforms_plot.compiler as compiler
4746
import isoforms_plot.plotter as plotter
47+
import isoforms_plot.lexer as lexer
4848

49-
# Parse
50-
parsed = parser.parse(csv_file)
51-
52-
# Compile
49+
lexed = lexer.lex(csv_file)
50+
parsed = parser.parse(lexed)
5351
compiled = compiler.compile(parsed)
54-
55-
# Plot
5652
drawing = plotter.plot(
5753
compiled.transcripts,
5854
compiled.groups,

0 commit comments

Comments
 (0)