-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
local queue variable undefined #87
Comments
Running step2.sh with def next_batch(self):
if not isinstance(self.queue, str):
try:
batch = queue.get(True)
if isinstance(batch, ExitProcess):
return None
return batch
except qmod.Empty:
print("qmod empty")
return [] Based on the code, it looks like this is a reference to the member variable I am trying this change in #83; if this resolves the issue, will update with comment here. How to ReplicateCode called with the following: python X:\_\Project - PERC\clever-rockies/src/step2/sequencer.py --lexicon "x:/_/Project - PERC/clever-rockies/res/dicts/dict.txt" --section-headers "x:/_/Project - PERC/clever-rockies/res/headers.txt" --main-targets LONELINESS --snippet-length 250 --snippets --notes "x:/_/Project - PERC/clever-rockies/tests/resources/test_notes/test_notes_with_metadata_one_line_tab_delim.txt" --workers 0 --output "x:/_/Project - PERC/clever-rockies/tests/output/LONELINESS" --left-gram-context 3 --right-gram-context 2 " Results in infinite loop with error. |
Within sequencer.py
clever-rockies/src/step2/sequencer.py
Lines 377 to 379 in 68972db
The text was updated successfully, but these errors were encountered: