Skip to content

Commit

Permalink
Refactor debug print statements and remove unnecessary variables in a…
Browse files Browse the repository at this point in the history
…nalyzer.py
  • Loading branch information
haeussma committed Oct 25, 2024
1 parent 87b6fc0 commit d71ae53
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions chromatopy/tools/analyzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,6 @@ def read_agilent(
rdl_paths = []

error = "no error"
read = "no read"
found_lines = "no found lines"

try:
Expand All @@ -518,7 +517,6 @@ def read_agilent(
print(f"everything: {directory.rglob('*')}", flush=True)
try:
lines = AgilentRDLReader.read_file(str(txt_path))
read = "found lines: " + str(lines)
if lines[0].startswith("┌─────"):
rdl_paths = [str(f.absolute()) for f in directory.rglob("*.txt")]
found_lines = "found startswith ┌─────"
Expand Down Expand Up @@ -546,7 +544,6 @@ def read_agilent(
print("txt_paths: ", txt_paths, flush=True)
print("csv_paths: ", csv_paths, flush=True)
print("rdl_paths: ", rdl_paths, flush=True)
print(read, flush=True)
print(found_lines, flush=True)
print(error, flush=True)

Expand Down

0 comments on commit d71ae53

Please sign in to comment.