fix wrong arg index

This commit is contained in:
David Anderson 2024-01-17 01:53:16 -08:00
parent d3b69ddb8d
commit e5d138bb90
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ import sys, os
if sys.argv[1] == '--error':
error_code = sys.argv[2]
wu_name = sys.argv[3]
wu_id = sys.argv[3]
wu_id = sys.argv[4]
batch_id = sys.argv[5]
outdir = '../sample_results/%s'%(batch_id)
cmd = 'mkdir -p %s'%(outdir)