Fix Incar check params for Union type
Fix Incar check params for Union type: a task in life-science-SWE1.0 (Harbor dataset). Title: Fix Incar check params for Union type
The task
**Title:** Fix `Incar` `check_params` for `Union` type
Part of scalingX/life-science-SWE1.0.