// ============================================================================= // ============================================================================= // Entry point macro for cFos-DAB suite. Orients program in file system, defines paths, defines universal functions, // runs UI loop and enters user into workflow, calling setup_and_roi macro to do so. // ============================================================================= // ============================================================================= // ================================ // UTILITY FUNCTIONS // ================================ function checkStructure(expected) { // ARG: expected -- array of paths for expected component files or directory // RETURN: string of any missing components, or "" if all exist missing = ""; for (i=0; i