mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nlp.git
synced 2024-12-26 21:24:17 +00:00
Codestyle changes.
This commit is contained in:
parent
a16b010bdc
commit
a32184db5c
16
wrapper/nlp
16
wrapper/nlp
@ -12,16 +12,12 @@ uid = str(os.getuid())
|
|||||||
gid = str(os.getgid())
|
gid = str(os.getgid())
|
||||||
|
|
||||||
parser = argparse.ArgumentParser(add_help=False)
|
parser = argparse.ArgumentParser(add_help=False)
|
||||||
parser.add_argument(
|
parser.add_argument('-i',
|
||||||
'-i',
|
dest='input_dir',
|
||||||
dest='input_dir',
|
required=False)
|
||||||
required=False
|
parser.add_argument('-o',
|
||||||
)
|
dest='output_dir',
|
||||||
parser.add_argument(
|
required=False)
|
||||||
'-o',
|
|
||||||
dest='output_dir',
|
|
||||||
required=False
|
|
||||||
)
|
|
||||||
args, remaining_args = parser.parse_known_args()
|
args, remaining_args = parser.parse_known_args()
|
||||||
|
|
||||||
cmd = ['docker', 'run', '--rm', '-it', '-u', uid + ':' + gid]
|
cmd = ['docker', 'run', '--rm', '-it', '-u', uid + ':' + gid]
|
||||||
|
Loading…
Reference in New Issue
Block a user