Skip to content

Commit

Permalink
Small bug (#289)
Browse files Browse the repository at this point in the history
* threshold not a list
  • Loading branch information
thanasions authored and IanGrimstead committed May 24, 2019
1 parent 11a4089 commit f86a9a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pygrams.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def get_args(command_line_arguments):
parser.add_argument("-st", "--search_terms", type=str, nargs='+', default=[],
help="Search terms filter: search terms to restrict the tfidf dictionary. "
"Outputs will be related to search terms")
parser.add_argument("-stthresh", "--search_terms_threshold", type=float, nargs='+', default=0.75,
parser.add_argument("-stthresh", "--search_terms_threshold", type=float, default=0.75,
help="Provides the threshold of how related you want search terms to be "
"Values between 0 and 1: 0.8 is considered high")
# Time filters
Expand Down

0 comments on commit f86a9a1

Please sign in to comment.