MCPcopy Create free account
hub / github.com/LBANN/lbann / add_body_line

Method add_body_line

python/lbann/launcher/batch_script.py:61–67  ·  view source on GitHub ↗

Add line to script body. The body should contain the script's executable commands.

(self, line)

Source from the content-addressed store, hash-verified

59 self.header.append(line)
60
61 def add_body_line(self, line):
62 """Add line to script body.
63
64 The body should contain the script's executable commands.
65
66 """
67 self.body.append(line)
68
69 def add_command(self, command):
70 """Add executable command to script.

Callers 1

add_commandMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected