bird-team / brisbane-bird-atlas

Atlas of the Birds of Brisbane: Community bird atlas for Brisbane, Australia
https://brisbanebirds.com
GNU General Public License v3.0
3 stars 0 forks source link

Requesting single map causes error in asset build #90

Closed dbl3raf closed 6 years ago

dbl3raf commented 6 years ago

I figured that for many of the rarest species, we would only want a single map - the detection map - map 6. I tried specifying this in the species table, but it causes an error on the widget build (the maps themselves build just fine).

I tried having just 6 in the field, also tried 6_ and _6 and 6 and none of them worked. Maybe there's a fundamental reason why I can't just have a detection map alone? Maybe it makes null widgets? image

dbl3raf commented 6 years ago

had the same error with 1_6 selected in map field, but not when the map field was left blank

Louis-Backstrom commented 6 years ago

Does 6_6_6_6_6_6 work perhaps? Although maybe that would just duplicate the detection six times. Worth a shot?

dbl3raf commented 6 years ago

For now I’ve reverted them to all maps just to stabilise the build

jeffreyhanson commented 6 years ago

Ok, thanks for providing the error message and looking into it, I'll see if I can fix it.

jeffreyhanson commented 6 years ago

To reproduce this bug, do I just need to clone the latest version of the repo? Or is there anything else I need to do (e.g. are there data on your computer that haven't been pushed)?

dbl3raf commented 6 years ago

Just a clone - everything is pushed from me

jeffreyhanson commented 6 years ago

Ok, I've updated the script for making the widgets and it now works for Radjah radjah (with a value of just 6 in the maps column of data/species/atlas_list.xlsx) - can you pull the latest version and try rebuilding the assets on your computer?

dbl3raf commented 6 years ago

Thanks Jeff - success! I updated Radjah shelduck and the website build completed successfully. Closing issue.

jeffreyhanson commented 6 years ago

Ok - brilliant!