Commit 4319039f by Tobias Langer

Improved status messages.

parent 10a40728
...@@ -93,20 +93,20 @@ def main(): ...@@ -93,20 +93,20 @@ def main():
experiment_dir = os.path.join(cwd, experiment['name']) experiment_dir = os.path.join(cwd, experiment['name'])
# Create folder # Create folder
print('create folder ', experiment_dir, file=sys.stderr) print('Create folder…', experiment_dir, file=sys.stderr)
if not create_dir(experiment_dir): if not create_dir(experiment_dir):
print('Skipping experiment ', experiment['name'], file=sys.stderr) print('Skipping experiment ', experiment['name'], file=sys.stderr)
continue continue
# Add header # Add header
print('create header file', file=sys.stderr) print('Create header file…', file=sys.stderr)
create_header(args.header, experiment, experiment_dir) create_header(args.header, experiment, experiment_dir)
# Add makefile & c++ file # Add makefile & c++ file
print('add Makefile', file=sys.stderr) print('Adding Makefile…', file=sys.stderr)
makefile_path = os.path.join(experiment_dir, 'Makefile') makefile_path = os.path.join(experiment_dir, 'Makefile')
shutil.copyfile(args.makefile, makefile_path) shutil.copyfile(args.makefile, makefile_path)
print('add C++ file', file=sys.stderr) print('Add C++ file(s)…', file=sys.stderr)
cpp_file_path = os.path.join(experiment_dir, 'experiment.cpp') cpp_file_path = os.path.join(experiment_dir, 'experiment.cpp')
shutil.copyfile(args.cpp, cpp_file_path) 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