Skip to content

Commit

Permalink
Add InstitutionID and FieldOfScienceID to the project OrderedDict so …
Browse files Browse the repository at this point in the history
…the ordering of the XML elements matches the schema
  • Loading branch information
matyasselmeci committed Apr 27, 2024
1 parent 656a4d5 commit 1994493
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/webapp/project_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ def get_resource_allocation(ra: Dict, idx: int) -> OrderedDict:

def get_one_project(file: str, campus_grid_ids: Dict, vos_data: VOsData) -> Dict:
project = OrderedDict.fromkeys(["ID", "Name", "Description", "PIName", "Organization", "Department",
"FieldOfScience", "Sponsor", "ResourceAllocations"])
"FieldOfScience", "Sponsor", "ResourceAllocations", "InstitutionID",
"FieldOfScienceID"])
data = None
try:
data = load_yaml_file(file)
Expand Down

0 comments on commit 1994493

Please sign in to comment.