mirror of
https://github.com/arcan1s/moldyn.git
synced 2025-07-08 19:45:45 +00:00
fix path
This commit is contained in:
@ -83,7 +83,7 @@ if __name__ == "__main__":
|
|||||||
input = []
|
input = []
|
||||||
if (args.dir):
|
if (args.dir):
|
||||||
if (os.path.isdir(args.dir)):
|
if (os.path.isdir(args.dir)):
|
||||||
input = [file for file in os.listdir(args.dir) if (os.path.splitext(file)[1] == ".qti")]
|
input = [os.path.join(args.dir, file) for file in os.listdir(args.dir) if (os.path.splitext(file)[1] == ".qti")]
|
||||||
else:
|
else:
|
||||||
if (args.input):
|
if (args.input):
|
||||||
for file in args.input.split(','):
|
for file in args.input.split(','):
|
||||||
|
Reference in New Issue
Block a user