weight_and_balance_analysis: enable run without seat_positions.xlsx

Bug Report

Description

When the seat_position.xlsx does not exist, the tool throws this error:

2025-01-15 - 13:01:22,892: TOOL_OUT - 2025-01-15 13:01:21,951 - PRINT - Weight and balance analysis started... (weight_and_balance_analysis@UNICADOworkflow_2025-01-15_12:59:22_01)
2025-01-15 - 13:01:22,892: TOOL_OUT - 2025-01-15 13:01:22,424 - CRITICAL - FileNotFoundError      :  (weight_and_balance_analysis@UNICADOworkflow_2025-01-15_12:59:22_01)
2025-01-15 - 13:01:22,892: TOOL_OUT - File             : pandas\io\common.py  (weight_and_balance_analysis@UNICADOworkflow_2025-01-15_12:59:22_01)
2025-01-15 - 13:01:22,892: TOOL_OUT - Function / Method: get_handle  (weight_and_balance_analysis@UNICADOworkflow_2025-01-15_12:59:22_01)
2025-01-15 - 13:01:22,892: TOOL_OUT - Line             : 882  (weight_and_balance_analysis@UNICADOworkflow_2025-01-15_12:59:22_01)
2025-01-15 - 13:01:22,892: TOOL_OUT - Code             : handle = open(handle, ioargs.mode)  (weight_and_balance_analysis@UNICADOworkflow_2025-01-15_12:59:22_01)

Steps to Reproduce

Run tool or workflow without this file

Expected Behavior

As far as I understood @AndiGob , this xlsx should only be relevant for the load chart plot - so in case the file does not exist, the plot should be skipped.

Environment

  • OS: Windows 10
  • Version/Branch: develop