Imageomics / dashboard-prototype

Prototype data dashboard for Imageomics Data
http://dash.imageomics.org
MIT License
5 stars 2 forks source link

Recognize long and lon for longitude #51

Closed egrace479 closed 1 year ago

egrace479 commented 1 year ago

Added ability to recognize long and lon for longitude, and a test for the long change.

johnbradley commented 1 year ago

What do you think about ignoring case when looking for lat and long? The Andromeda iNaturalist code creates columns Lat and Long.

egrace479 commented 1 year ago

What do you think about ignoring case when looking for lat and long? The Andromeda iNaturalist code creates columns Lat and Long.

It would be simple enough to just set all column names to lowercase with str.lower before the check or str.capitalize to capitalize them (potentially better for display?).

egrace479 commented 1 year ago

What do you think about ignoring case when looking for lat and long? The Andromeda iNaturalist code creates columns Lat and Long.

It would be simple enough to just set all column names to lowercase with str.lower before the check or str.capitalize to capitalize them (potentially better for display?).

Realized the capitalization should be carried through as it's likely going to stick with greater generalization of later versions. This made for more files changed, but small changes. @johnbradley do you think that works/makes sense now?