forked from CCI-MOC/invoicing
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Validate combined dataframe with alias file
Added an argument `alias-file` which gives the user the choice to provide a PI alias file, else defaults to fetching the file from a hardcoded location in S3 storage ("PIs/alias.csv") The PI file must be a csv, with the first value of each row being the canonical name for each PI every other value in each row will be the PI's known aliases. An example: ``` PI1,PI1_1,PI1_2 PI2,PI2_1 ``` Given the alias file, `validate_pi_aliases` will iterate through all projects in the combined invoice, and replace all encountered aliases with its PI's canonical name
- Loading branch information
Showing
2 changed files
with
67 additions
and
2 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