Skip to content

Commit

Permalink
format: Remove debug statements
Browse files Browse the repository at this point in the history
  • Loading branch information
jay-tau committed Jun 7, 2024
1 parent a4f7468 commit 76cf591
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 14 deletions.
3 changes: 0 additions & 3 deletions drishti/handlers/handle_darshan.py
Original file line number Diff line number Diff line change
Expand Up @@ -755,9 +755,6 @@ def handler():
input_filename = os.path.basename(args.log_path).replace('.darshan', '')
out_dir = args.export_dir if args.export_dir != "" else os.getcwd()

print(f"DEBUG: outfile_name: {input_filename}")

export_html(console, out_dir, input_filename)
export_svg(console, out_dir, input_filename)

export_csv(out_dir, input_filename, job['job']['jobid'])
7 changes: 0 additions & 7 deletions drishti/includes/module.py
Original file line number Diff line number Diff line change
Expand Up @@ -1828,7 +1828,6 @@ def export_html(console, export_dir, filename):
'''

if not args.export_html:
print("DEBUG: export_html() - return")
return

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

print("DEBUG: END export_html()")


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

print(f"DEBUG: export_dir: {export_dir}")
print(f"DEBUG: filename: {filename}")
print(f"DEBUG: filepath: {filepath}")

with open(filepath, 'w') as f:
w = csv.writer(f)
w.writerow(detected_issues.keys())
Expand Down
4 changes: 0 additions & 4 deletions drishti/includes/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,3 @@
)

args = parser.parse_args()

print(f"DEBUG: log_path: {args.log_path}")
print(f"DEBUG: export_path: {args.export_dir}")
print(f"DEBUG: export_csv: {args.export_csv}")

0 comments on commit 76cf591

Please sign in to comment.