This commit is contained in:
Stephan Porada 2020-01-22 14:25:03 +01:00
parent d57dac2e15
commit c67f1defb8

View File

@ -12,7 +12,6 @@ Author: Stephan Porada <sporada@uni-bielefeld.de>
import os
import argparse
import subprocess
def parse_arguments():
@ -25,8 +24,10 @@ def parse_arguments():
def merge_images(input_dir, output_dir):
os.makedirs(output_dir, exist_ok=True)
os.makedirs(os.path.join(output_dir, 'testfile.txt'))
os.system('ls -v {i}/*.* >> {i}file_list.txt'.format(i=input_dir))
os.system('convert @{i}/file_list.txt {o}/combined.tiff'.format(i=input_dir, o=output_dir))
os.system('convert @{i}/file_list.txt {o}/combined.tiff'.format(i=input_dir,
o=output_dir))
def main():