Skip to content

Commit

Permalink
Fix numbering of runs
Browse files Browse the repository at this point in the history
  • Loading branch information
sfegan committed Oct 17, 2024
1 parent da322e4 commit c4a6c2c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/cta_stage1.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@
nskip = 0;
nfile = len(endpoints[opt.start_file_index():])
for ifile, filename in enumerate(endpoints[opt.start_file_index():]):
ifile += opt.start_file_index()
if not first_file:
print("-"*80)
first_file = False
Expand All @@ -122,7 +121,7 @@
selector.set_filename(filename)
oids = sql.select_oids_matching(opt.db_stage1_table_name(), selector)
if oids and opt.skip_existing():
print("#%d: skipping %s"%(ifile,filename))
print("#%d / %d: skipping %s"%(ifile+1,nfile,filename))
nskip += 1
continue
if oids and opt.replace_existing():
Expand Down

0 comments on commit c4a6c2c

Please sign in to comment.