ana3AIMEC.aimecTools.checkMultipleSimFound

checkMultipleSimFound(refSimRowHash, inputsDF, error=False)[source]

Check if more than one file can be chosen as reference

Log warning or error if it is the case

Parameters
  • refSimRowHash (index) – dataframe hash (not simHash) of the simulation used as reference

  • inputsDF (dataFrame) – simulation dataFrame

  • error (bool) – if True raise an error if multiple simulations where found, otherwise a simple warning

Returns

  • refSimRowHash (index) – dataframe hash (not simHash) of the simulation used as reference

  • refSimName (str) – name of THE reference simulation