in3Utils.cfgUtils.readConfigurationInfoFromDone

readConfigurationInfoFromDone(avaDir, specDir='', latest=False)[source]

Check avaName/Outputs/com1DFA/configurationFilesDone and pass names of all files found in this directory and create corresponding simDF this is useful if e.g. no allConfigurations.csv has been written but already some simulations have been performed as a txt file is saved in avaName/Outputs/com1DFA/configurationFiles after the respective simulation has been run whereas the allConfigurations file is written at the end of a call to com1DFAMain that can include several individual sims if latest=True only look for latest simulations in avaName/Outputs/com1DFA/configurationFilesLatest

Parameters
  • avaDir (str) – path to avalanche directory

  • specDir (str) – path to a directory where simulation configuration files directory called configurationFiles can be found - optional

  • latest (bool) – if True check for files found in avaName/Outputs/com1DFA/configurationFilesLatest

Returns

  • simDF (pandas DataFrame) – DF with all the simulation configurations

  • simDFName (array) – simName column of the dataframe