mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nlp.git
synced 2024-12-27 11:04:18 +00:00
Codestyle changes.
This commit is contained in:
parent
a16b010bdc
commit
a32184db5c
12
wrapper/nlp
12
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',
|
||||||
parser.add_argument(
|
|
||||||
'-o',
|
|
||||||
dest='output_dir',
|
dest='output_dir',
|
||||||
required=False
|
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