Skip to content

Commit

Permalink
Added logging to tell user when jobs complete
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeDacre committed Mar 21, 2016
1 parent 94aa65a commit 5c8f738
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bin/CountSNPASE.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@ def CIGAR_to_Genomic_Positions(cigar_types, cigar_vals, pos):
sleep(2) # Pause for two seconds to make sure job is properly submitted

# Now wait and check for all jobs to complete every so long
sys.stderr.write('Waiting for jobs to finish...\n')
done = False
while done is False:
tot_done = 0
Expand All @@ -271,6 +272,8 @@ def CIGAR_to_Genomic_Positions(cigar_types, cigar_vals, pos):

sleep(10)

sys.stderr.write('All jobs complete\n')

# Once the jobs are done, concatenate all of the counts into one file.
# Initialize dictionaries

Expand Down

0 comments on commit 5c8f738

Please sign in to comment.