Skip to content

Commit

Permalink
Try to get some missing entries
Browse files Browse the repository at this point in the history
  • Loading branch information
huitema committed Apr 4, 2024
1 parent ac1317a commit 6787cdb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/imrs_monthly.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def check_or_create_dir(dir_path):
if nb_files > 0:
ipstats_file = cluster_id + "." + month + "-" + "ipstats.csv"
ipstats_path = join(monthly_folder, ipstats_file)
merge_cmd = ithitool + ' -I ' + ipstats_file + " " + tmp_file_name
merge_cmd = ithitool + ' -I ' + ipstats_path + " " + tmp_file_name
cmd_ret = os.system(merge_cmd)
if cmd_ret == 0:
if do_debug:
Expand Down
3 changes: 2 additions & 1 deletion src/imrsrsv.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,8 @@ def get_list_of_dates(self):
slice_date = slice[0:8]
date_set.add(slice_date)
date_list = sorted(list(date_set))
self.date_list = [ d for d in date_list[:-1] if d.startswith(self.month) ]
# originally was d in date_list[:-1] to exclude the last one, but we want it now
self.date_list = [ d for d in date_list if d.startswith(self.month) ]
if self.do_debug:
print("Found " + str(len(self.date_list)) + "dates. Retain 1")
print(self.date_list)
Expand Down

0 comments on commit 6787cdb

Please sign in to comment.