Functions | |
def | castorDirExists |
def | getCommandOutput2 |
def | replaceByMap |
— Helpers —############################ More... | |
def helperFunctions.castorDirExists | ( | path | ) |
This function checks if the directory given by `path` exists. Arguments: - `path`: Path to castor directory
Definition at line 47 of file helperFunctions.py.
References getCommandOutput2().
def helperFunctions.getCommandOutput2 | ( | command | ) |
This function executes `command` and returns it output. Arguments: - `command`: Shell command to be invoked by this function.
Definition at line 32 of file helperFunctions.py.
Referenced by castorDirExists(), validateAlignments.main(), and validateAlignments.ValidationJob.runJob().
def helperFunctions.replaceByMap | ( | target, | |
the_map | |||
) |
— Helpers —############################
This function replaces `.oO[key]Oo.` by `the_map[key]` in target. Arguments: - `target`: String which contains symbolic tags of the form `.oO[key]Oo.` - `the_map`: Dictionary which has to contain the `key`s in `target` as keys
Definition at line 5 of file helperFunctions.py.
Referenced by offlineValidation.OfflineValidation.appendToMerge(), trackSplittingValidation.TrackSplittingValidation.createConfiguration(), monteCarloValidation.MonteCarloValidation.createConfiguration(), zMuMuValidation.ZMuMuValidation.createConfiguration(), offlineValidation.OfflineValidation.createConfiguration(), geometryComparison.GeometryComparison.createConfiguration(), offlineValidation.OfflineValidationParallel.createConfiguration(), validateAlignments.createExtendedValidationScript(), validateAlignments.createMergeScript(), validateAlignments.createOfflineJobsMergeScript(), validateAlignments.createParallelMergeScript(), trackSplittingValidation.TrackSplittingValidation.createScript(), monteCarloValidation.MonteCarloValidation.createScript(), zMuMuValidation.ZMuMuValidation.createScript(), offlineValidation.OfflineValidation.createScript(), geometryComparison.GeometryComparison.createScript(), offlineValidation.OfflineValidationParallel.createScript(), validateAlignments.createTrackSplitPlotScript(), alignment.Alignment.getConditions(), trackSplittingValidation.TrackSplittingValidation.getRepMap(), monteCarloValidation.MonteCarloValidation.getRepMap(), and offlineValidation.OfflineValidation.getRepMap().