Skip to content

Commit 6d0ab14

Browse files
committed
Ignore classify when loggin weights.
1 parent 72e5313 commit 6d0ab14

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

python/runcute.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,11 @@ def print_usage():
3535
weighted_terms = cute.parse_weighted_term_file(tf_file, top_terms=top_terms,
3636
weight_function=cute.weight.CuteWeightFunction(rho, frequency_threshold))
3737

38-
print('BEGIN Weighted terms')
3938
if log_weighted_terms:
4039
for protocol, protocol_wterms in weighted_terms.items():
4140
for term, weight in protocol_wterms:
4241
print('%s|%s|%d' % (protocol, term, weight), file=sys.stderr)
43-
print('END Weighted terms')
42+
return
4443

4544
c = cute.Cute(weighted_terms)
4645
i = 0

0 commit comments

Comments
 (0)