Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 76cf591

Browse files
committedJun 7, 2024
format: Remove debug statements
1 parent a4f7468 commit 76cf591

File tree

3 files changed

+0
-14
lines changed

3 files changed

+0
-14
lines changed
 

‎drishti/handlers/handle_darshan.py

-3
Original file line numberDiff line numberDiff line change
@@ -755,9 +755,6 @@ def handler():
755755
input_filename = os.path.basename(args.log_path).replace('.darshan', '')
756756
out_dir = args.export_dir if args.export_dir != "" else os.getcwd()
757757

758-
print(f"DEBUG: outfile_name: {input_filename}")
759-
760758
export_html(console, out_dir, input_filename)
761759
export_svg(console, out_dir, input_filename)
762-
763760
export_csv(out_dir, input_filename, job['job']['jobid'])

‎drishti/includes/module.py

-7
Original file line numberDiff line numberDiff line change
@@ -1828,7 +1828,6 @@ def export_html(console, export_dir, filename):
18281828
'''
18291829

18301830
if not args.export_html:
1831-
print("DEBUG: export_html() - return")
18321831
return
18331832

18341833
os.makedirs(export_dir, exist_ok=True)
@@ -1840,8 +1839,6 @@ def export_html(console, export_dir, filename):
18401839
clear=False
18411840
)
18421841

1843-
print("DEBUG: END export_html()")
1844-
18451842

18461843
def export_svg(console, export_dir, filename):
18471844
if not args.export_svg:
@@ -1910,10 +1907,6 @@ def export_csv(export_dir, filename, jobid=None):
19101907
os.makedirs(export_dir, exist_ok=True)
19111908
filepath = os.path.join(export_dir, f"{filename}.csv")
19121909

1913-
print(f"DEBUG: export_dir: {export_dir}")
1914-
print(f"DEBUG: filename: {filename}")
1915-
print(f"DEBUG: filepath: {filepath}")
1916-
19171910
with open(filepath, 'w') as f:
19181911
w = csv.writer(f)
19191912
w.writerow(detected_issues.keys())

‎drishti/includes/parser.py

-4
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,3 @@
126126
)
127127

128128
args = parser.parse_args()
129-
130-
print(f"DEBUG: log_path: {args.log_path}")
131-
print(f"DEBUG: export_path: {args.export_dir}")
132-
print(f"DEBUG: export_csv: {args.export_csv}")

0 commit comments

Comments
 (0)
Please sign in to comment.