tomwer.core.process.drac.gallery.deduce_proposal_GALLERY_location#
- tomwer.core.process.drac.gallery.deduce_proposal_GALLERY_location(scan_obj)#
Policy: look if the scan_obj.path is in ‘PROCESSED_DATA_DIR_NAME’ or ‘RAW_DATA_DIR_NAME’ directories. If find any (before any ‘GALLERY_DIR_NAME’ directory) replace it “GALLERY_DIR_NAME”. If none of those are found then create it at the same level as the scan
- Parameters:
scan_obj (
TomwerScanBase
) – scan_obj for which we want the GALLERY directory- Return type:
str
- Returns:
gallery path (to save screenshots for example)