Skip to content

Refactoring Neighbour Module #42

Description

@cczhu

There's currently a ridiculous redundancy in the neighbour.NeighbourLonLatBase class because I stupidly refused to set centreline_id as the index of self.data rather than one of the columns. Since data lookup needs to be done using centreline IDs anyway, it only makes sense to set centreline_id as the index so we can directly refer to values using self.data.loc.

The class and test will have to be refactored, but a lot of the integration testing we're doing from other modules won't be affected.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

refactoringReworking code structure without (major) API changes

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions