Skip to content

Commit

Permalink
Merge pull request #51 from martinghunt/check_all_input_files_exist
Browse files Browse the repository at this point in the history
Check all input files exist
  • Loading branch information
martinghunt committed Apr 8, 2016
2 parents 39f77ce + 7b665d1 commit bcda1ec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ariba/clusters.py
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ def _clean(self):
def write_versions_file(self, original_dir):
with open('version_info.txt', 'w') as f:
print('ARIBA version', common.version, 'run with this command:', file=f)
print(' '.join(sys.argv), file=f)
print(' '.join([sys.argv[0]] + ['run'] + sys.argv[1:]), file=f)
print('from this directory:', original_dir, file=f)
print(file=f)
print('Versions of dependencies:\n', file=f)
Expand Down
2 changes: 1 addition & 1 deletion ariba/tasks/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def run():

if len(reads_not_found):
print('\nThe following reads file(s) were not found:', file=sys.stderr)
print(*reads_not_found, sep='\n')
print(*reads_not_found, sep='\n', file=sys.stderr)
print('Cannot continue', file=sys.stderr)
sys.exit(1)

Expand Down

0 comments on commit bcda1ec

Please sign in to comment.