Skip to content

Commit

Permalink
per #2423, follow symbolic links when traversing directories to find …
Browse files Browse the repository at this point in the history
…files within a time window, ci-run-all-diff
  • Loading branch information
georgemccabe committed Nov 14, 2023
1 parent 280cee6 commit cd6a11d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metplus/wrappers/command_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -757,7 +757,7 @@ def _get_closest_files(self, data_dir, template, valid_time,
"%Y%m%d%H%M%S").strftime("%s"))

# step through all files under input directory in sorted order
for dirpath, _, all_files in os.walk(data_dir):
for dirpath, _, all_files in os.walk(data_dir, followlinks=True):
for filename in sorted(all_files):
fullpath = os.path.join(dirpath, filename)

Expand Down

0 comments on commit cd6a11d

Please sign in to comment.