diff --git a/py/rvspecfit/desi/desi_fit.py b/py/rvspecfit/desi/desi_fit.py index 7977932..970d03f 100644 --- a/py/rvspecfit/desi/desi_fit.py +++ b/py/rvspecfit/desi/desi_fit.py @@ -1811,6 +1811,9 @@ def main(args): file_from=input_file_from, queue=queue_file) else: + if input_files is None: + with open(input_file_from, 'r') as fp: + input_files = [_.rstrip() for _ in fp.readlines()] files = utils.MPIFileQueue(file_list=input_files) if (not args.mpi) or (args.mpi and rank != 0):