-
Notifications
You must be signed in to change notification settings - Fork 22
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
Fixed shared field names between measures and points #122
Conversation
# Some point and measure fields have the same name, so mangle them as point_ and measure_ | ||
point_cols = [self.point_field_map[attr] if attr in self.point_field_map else attr for attr in self.point_attrs] | ||
measure_cols = [self.measure_field_map[attr] if attr in self.measure_field_map else attr for attr in self.measure_attrs] | ||
cols = point_cols + measure_cols |
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.
👍
This is going to have knock on effects in autocnet. So once this is merged, hold off on updating! |
I'm not sure why coveralls is complaining about the coverage going down. I didn't modify the constructor property at all. |
@jessemapel Are we good to merge this? If so, anyone can do it. Reviewed and code looks good. |
@jlaura I want to wait until https://github.com/USGS-Astrogeology/autocnet/pull/349 is finished because this will break that. |
* First pass at shared field names * Removed write changes * Removed print * Added better testing. Fixed weird choosername problem
* First pass at shared field names * Removed write changes * Removed print * Added better testing. Fixed weird choosername problem
Shared field names between measures and points are now called
measure_
andpoint_
Until #121 is fixed, I have removed the changes to the
to_isis
method.