Browse Source

Better final print in pipelet.py

master
Benito Marcote 2 years ago
parent
commit
6263eb9762
  1. 5
      pipelet.py

5
pipelet.py

@ -84,6 +84,9 @@ with open(template_pipelet_file, 'r') as template:
args.experiment.lower()), 'w')
pipelet_file.write(full_text)
pipelet_file.close()
print('\nFile {0}.pipelet created successfully in {1}/.'.format(args.experiment.lower(), args.output if args.output[-1] != '/' else args.output[:-1]))
if args.output == '.':
print('\nFile {0}.pipelet created successfully.'.format(args.experiment.lower()))
else:
print('\nFile {0}.pipelet created successfully in {1}/.'.format(args.experiment.lower(), args.output if args.output[-1] != '/' else args.output[:-1]))

Loading…
Cancel
Save