Skip to content

Commit

Permalink
changed to the proper way of stripping out the file extension to see …
Browse files Browse the repository at this point in the history
…which views should be ignored based on the ignore_views_for_output setting
  • Loading branch information
dcanbwell committed Sep 5, 2024
1 parent 735eb9f commit b6490cd
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -735,8 +735,8 @@ def validate(
output_files: List[str] = [
f
for f in listdir(self.output_folder_path)
if isfile(join(self.output_folder_path, f)) # and file without extension is not in ignore_views_for_output
and f.split(".")[0] not in self.ignore_views_for_output
if isfile(join(self.output_folder_path, f))
and Path(f).stem not in self.ignore_views_for_output
]
views_found: List[str] = []
data_frame_exceptions: List[SparkDataFrameComparerException] = []
Expand Down

0 comments on commit b6490cd

Please sign in to comment.