mario.Database.read_add_sectors_excel#
- Database.read_add_sectors_excel(path, get_inventories=False, read_inventories=False)#
Read one add-sectors workbook and attach its metadata to the database.
- Parameters:
path – Path to the add-sectors workbook.
get_inventories – When
True, create any missing inventory-sheet templates in the workbook after reading the master sheet.read_inventories – When
True, also read and group the inventory sheets referenced by the workbook.
- Returns:
Workbook metadata is stored on the current instance.
- Return type:
None
Notes
The method always stores the normalized master sheet, cluster maps and derived item sets on the database instance. When
read_inventories=Trueit also groups the inventory sheets by target item and stores them onself.inventories.