Leap

object Leap

Types

Link copied to clipboard
class Exception(msg: String, inMol: String, results: Leap.Results) : RuntimeException
Link copied to clipboard
data class Results(exitCode: Int, console: List<String>, files: Map<String, String?>)

Functions

Link copied to clipboard
fun run(serviceDir: Path, filesToWrite: Map<String, String>, commands: String, filesToRead: List<String> = emptyList(), debugFiles: List<String> = emptyList()): Leap.Results
Link copied to clipboard
fun sanitizeToken(ffname: String): String

remove all characters that aren't in the allowed charaters list, to prevent any injection attacks on the LEAP scripts