We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 267a90c commit 86012a4Copy full SHA for 86012a4
wdlgen/task.py
@@ -34,6 +34,18 @@ def get_string(self):
34
def add_docker(self, docker):
35
self.kwargs["docker"] = docker
36
37
+ def add_cpus(self, cpus):
38
+ self.kwargs["cpu"] = cpus
39
+
40
+ def add_memory(self, memory_gb):
41
+ self.kwargs["memory"] = f"{memory_gb}G"
42
43
+ def add_gcp_disk(self, disk_size_gb):
44
+ self.kwargs["disks"] = f"local-disk {disk_size_gb} SSD"
45
46
+ def add_gcp_boot_disk(self, disk_size_gb: int):
47
+ self.kwargs["bootDiskSizeGb"] = int(disk_size_gb)
48
49
class Command(WdlBase):
50
"""
51
Past the regular attributes, I've built the command generation here, because that's where
0 commit comments