Skip to content

Commit

Permalink
Cleaned up testing code
Browse files Browse the repository at this point in the history
  • Loading branch information
smelandr committed Jan 2, 2017
1 parent c2f76ff commit 70d4637
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions nmrstarlib/bmrblex.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,19 +177,3 @@ def bmrblex(text):

yield token
token = u""


if __name__ == "__main__":

with open("../../nmrstarlib_extras/example_data/bmr18569.str", "r") as infile:
text = infile.read()

t0 = time.time()
lexer = bmrblex(text)

for token in lexer:
t = token
print(t)

t1 = time.time() - t0
print(t1)

0 comments on commit 70d4637

Please sign in to comment.