Commit d90fc28d by Tobias Langer

Write status messages to stderr.

parent b863d428
......@@ -93,20 +93,20 @@ def main():
experiment_dir = os.path.join(cwd, experiment['name'])
# Create folder
print('create folder ', experiment_dir)
print('create folder ', experiment_dir, file=sys.stderr)
if not create_dir(experiment_dir):
print('Skipping experiment ', experiment['name'], file=sys.stderr)
continue
# Add header
print('create header file')
print('create header file', file=sys.stderr)
create_header(args.headerfile, experiment, experiment_dir)
# Add makefile & c++ file
print('add Makefile')
print('add Makefile', file=sys.stderr)
makefile_path = os.path.join(experiment_dir, 'Makefile')
shutil.copyfile(args.makefile, makefile_path)
print('add C++ file')
print('add C++ file', file=sys.stderr)
cpp_file_path = os.path.join(experiment_dir, 'experiment.cpp')
shutil.copyfile(args.cpp, cpp_file_path)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment