-
Notifications
You must be signed in to change notification settings - Fork 17
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
Make animated visualizations for the target area #108 #138
base: develop
Are you sure you want to change the base?
Conversation
…h, datamp, bin_path
Cool thanks @pierrealixt . Can you take care of the failing tests (see https://travis-ci.org/kartoza/osm-reporter/jobs/373057299#L933) - it looks like you need to add BeautifulSoup to the requirements file. Also, it is nice if you can make little screen animations using https://www.cockos.com/licecap/ or similar and attach to the PR so that the reviewer can easily see what the changeset does without needing to run the code themselves. For your PR can you include a minimal description that refers back to the ticket e.g. "Implementation for #108 - added support for creating animations of an area." For the code there are some compliance issues to our standards. Can you start by running pep8 and flake8 against the code base and making sure you have fixed any issues they identify. Then I will do a code walk through with you on wed, outlining any other style related issues I see. Awesome stuff man! |
The reason why checks have failed has something to do with the executables I use: snap, render, encode. |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like you are committing the binaries for snap, render and encode now. Is that intended or are you going to rather build them on the fly in docker? Either is ok for me.
class Frame: | ||
|
||
""" | ||
Frame is an object representing a frame of the final GIF |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Terminate with full stop and then add newline before extended description
Frame is an object representing a frame of the final GIF.
@@ -5,3 +5,7 @@ pep8 | |||
nosexcover | |||
nose | |||
selenium | |||
bs4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It should not needed to repeat these here - the first line of this file already imports everything from requirements.txt
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK but it doesnt. The first line is commented so it doesn't install what's in requirements.txt.
Am i right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So I uncommented the first line in requirements-dev.txt.
Then I built an image from Dockerfile.dev with the command:
docker build -f Dockerfile.dev -t "pat-osm-reporter" .
And it crashed as expected: maximum recursion depth exceeded.
Because we ADD HOST/requirements-dev.txt as CONTAINER/requirements.txt
and RUN the pip install command which will install from requirements.txt => maximum recursion depth! KABOOM.
Does it make sense?
Implementation for #108 - added support for creating animations of an area.