-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HDXDSYS-898 Refactor org code (#134)
* Add uncleaned names as keys to lookups Remove intersectoral check dict() to {} Move branches that have continue higher up in loops in operational presence * Some rearrangement of operational presence and comments to help me understand the org processing * Small reorg of org type if code * store normalised keys as well as non normalised * Use already normalised key * Simplify org lookup code and operational presence * Add to lookup to reduce need to keep normalising * Pass around normalise variables * Remove org lookup only used in test * Remove unnecessary variable * Update CHANGELOG * Can just return value here * Combine ifs * Use named tuples for clarity * Rename value to org_info * Use org_data in populate_multiple * Use OrgData in tests * Make OrgInfo into a data class Add used and complete bools to OrgInfo Correct OrgInfo objects in org_map with corrections from looking up in data member variable * Make separate function * Add debug option to command line Add org_map debug
- Loading branch information
Showing
12 changed files
with
476 additions
and
188 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.