adjustments necessary to run open_ended_coders.py
outside of Docker
#26
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
For some reason running
docker compose up
exits immediately with no error for thempeds
service, and runningdocker build . -f Dockerfile
while in thempeds
subfolder also fails (although the error is taking a really long time to pop out now)This PR just demonstrates the adjustments I made to get the script working outside of the docker environment; I'm not suggesting changes in any way, just putting this up to show what I did for docs purposes. Feel free to close after you've seen it --
Most of the edits had to do with migrating to python3, but there were some cases where the existing parser wanted to see a subject following a number, e.g.
three hundred demonstrators
, and would refuse to codethree hundred
on its own properly. I believe students were not aware of this requirement and in general articles don't always follow the structure of (number)(subject), so sometimes they would say "the number of demonstrators totaled three hundred" or any other form. So I removed the requirement for this token pattern