-
Notifications
You must be signed in to change notification settings - Fork 111
Running through the readme sequentially results in a warning #68
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
Comments
Looks like this is #63 |
Hmm.. I wonder if this is truly related to #63? I get that skipping error as well on my slightly altered run through of the README here. I chocked it up to being due to tiles that don't contain either of the classes not being downloaded. Could you check with previewing just 9 or 8 tiles (making sure you clear out the preview directories)? |
@jreiberkyle yup, this is due to some lazy packaging scripts (it searches for an image for each tile even though, depending upon the config parameters, we don't download an image for each tile). Because the image download in the previous step is partially randomized (for background tiles), I think one of two approaches makes the most sense:
Any preferences? @jreiberkyle @tmcw @wronk |
Do we want to support users to directly manipulate images directory (by adding or removing examples)? It seems like we might want (2) if that's the case. I'd also lean towards always alerting users to any mismatches. Counter question to myself on (2): are there any risks of |
@wronk I think both options will create the same output in most cases, even if users manually edit the |
Maybe the second one makes more sense then? I really don't have any strong opinions here, so whatever you think will make it easier for the user is okay with me. |
@drewbo in which instances are image tiles not downloaded? Is this only the case for background tiles? |
@jreiberkyle yup, either all background tiles or just a random portion of them (depending upon the I'm going to implement option 1 (drop the warning) and assume that everything in the images folder is what people want (if there were download issues, it will surface while downloading). If there are corrupt files (i.e. |
Sounds great @drewbo ! |
Currently, if you run through the
label-maker
readme example - with thetogo
country config.json, and running in order:The last step produces a warning for a missing file:
Admittedly I haven't done enough digging yet, but it would look like there's possibly an off-by-one error here.
The text was updated successfully, but these errors were encountered: