in3Utils.fileHandlerUtils

Directory and file handling helper functions

Functions

checkCommonSims

Check which files are common between local and full ExpLog

exportcom1DFAOrigOutput

Export the simulation results from com1DFA output to desired location

extractParameterInfo

Extract info about simulation parameters from the log file

getDFAData

Export the required data from com1DFA output to Aimec Work directory and rename, if nameDir=’’, data from com1DFA output copied to workDir without renaming

getDFADataPaths

Determine the paths of the required data from comModule output for Aimec

getRefData

Grab reference data and save to outputDir

makeADir

Create a directory and print warning if it already existed

makeSimDict

Create a dictionary that contains all info on simulations that can then be used to filter simulations for example

readLogFile

Read experiment log file and make dictionary that contains general info on all simulations

splitIniValueToArraySteps

read values in ini file and return numpy array of values or a list if the items are strings; values can either be separated by | or provided in start:end:numberOfSteps format

splitTimeValueToArrayInterval

read values in ini file and return numpy array of values, values can either be separated by | or provided in start:interval format