You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, So I notice that this read here adds a \n char to the end of the query. This then causes an issue with the count if its not actually an end-of-line. Should there be a .strip() added here?
arr = open(args.query_file,"rb").read().strip()
Thanks.
The text was updated successfully, but these errors were encountered:
This python command doesn't itself add a newline to the file. It only reads what's already in the file. If you don't want a newline then you should remove it from the input file. For example, if you're writing to it with echo, this by default adds a newline to the end.
Hi, So I notice that this read here adds a
\n
char to the end of the query. This then causes an issue with the count if its not actually an end-of-line. Should there be a.strip()
added here?arr = open(args.query_file,"rb").read().strip()
Thanks.
The text was updated successfully, but these errors were encountered: