Skip to content

Commit

Permalink
Update: only export the beliefs listed after the *concepts command
Browse files Browse the repository at this point in the history
  • Loading branch information
patham9 committed Apr 11, 2021
1 parent e5ed959 commit 8041776
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions concept_usefulness_filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,12 @@

lines = []
curline = None
started = False
for line in sys.stdin:
if "//*concepts" in line:
started = True
if not started:
continue
print(line)
if line.startswith("*"):
print(line, end='')
Expand Down

0 comments on commit 8041776

Please sign in to comment.