Skip to content

Commit

Permalink
Refactor debug print statements and update error handling in analyzer.py
Browse files Browse the repository at this point in the history
  • Loading branch information
haeussma committed Oct 25, 2024
1 parent d71ae53 commit 53399c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chromatopy/tools/analyzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -519,10 +519,10 @@ def read_agilent(
lines = AgilentRDLReader.read_file(str(txt_path))
if lines[0].startswith("┌─────"):
rdl_paths = [str(f.absolute()) for f in directory.rglob("*.txt")]
found_lines = "found startswith ┌─────"
found_lines = "found lines"
else:
txt_paths = txt_paths
found_lines = "found no startswith ┌─────"
found_lines = "found no lines"
except UnicodeDecodeError:
error = "UnicodeDecodeError"

Expand Down

0 comments on commit 53399c9

Please sign in to comment.