Skip to content

Commit 5d7d149

Browse files
committed
added sudo to commands
1 parent b1f5c94 commit 5d7d149

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

‎vcf_rdfizer.py‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ def resolve_image_ref(image: str, image_version: str | None):
143143
raise ValueError("Do not include a tag in --image when using --image-version.")
144144
return image, False
145145
if image_version is None:
146-
return f"{image}:latest", False
146+
return f"{image}:1.0.0", False
147147
return f"{image}:{image_version}", True
148148

149149

@@ -159,7 +159,7 @@ def main():
159159
parser.add_argument("--tsv", default="./tsv", help="TSV output directory")
160160
parser.add_argument(
161161
"--image",
162-
default="vcf-rdfizer",
162+
default="ecrum19/vcf-rdfizer",
163163
help="Docker image repo (no tag) or full image reference",
164164
)
165165
parser.add_argument(
@@ -249,6 +249,7 @@ def main():
249249
tsv_existed = tsv_dir.exists()
250250
ensure_dir(tsv_dir)
251251
tsv_cmd = [
252+
"sudo",
252253
"docker",
253254
"run",
254255
"--rm",
@@ -299,6 +300,7 @@ def main():
299300

300301
print(f" - Converting '{prefix}' -> out/{output_name}")
301302
run_cmd = [
303+
"sudo",
302304
"docker",
303305
"run",
304306
"--rm",
@@ -338,6 +340,7 @@ def main():
338340
print("Step 5/5: Compressing outputs")
339341
compression_out_name = conversion_output_names[0] if len(conversion_output_names) == 1 else ""
340342
compression_cmd = [
343+
"sudo",
341344
"docker",
342345
"run",
343346
"--rm",

0 commit comments

Comments
 (0)