CCI-MOC / process_csv_report

Some scripts to help process our billing reports
0 stars 3 forks source link

Allow a PI's institution name to be search with subdomains #62

Closed QuanMPhm closed 3 months ago

QuanMPhm commented 3 months ago

Closes #59. Now, for PIs whose emails contain multiple subdomains (i.e a@b.c.edu), each of their subdomains will be matched against institute_map.json, from the most qualified to least qualified subdomain.

In the example of a@b.c.edu, this means b.c.edu would be matched first, then c.edu, then edu.

I have removed the "Harvard University" entries from institute_map.json made redundant by this new feature.