Skip to content

Commit

Permalink
improve debugging outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
peterdsharpe committed Mar 4, 2024
1 parent 91a1993 commit 028e11f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion aerosandbox/aerodynamics/aero_2D/xfoil.py
Original file line number Diff line number Diff line change
Expand Up @@ -435,8 +435,9 @@ def str_to_float(s: str) -> float:
"For debugging, the raw output file from XFoil is printed below:\n"
+ "\n".join(lines)
+ "\nTitle line: " + title_line
+ "\nColumns: " + str(columns)
+ f"\nIdentified {len(data)} data columns and {len(columns)} header columns."
+ "\nColumns: " + str(columns)
+ "\nData: " + str(data)
)

for i in range(len(columns)):
Expand Down

0 comments on commit 028e11f

Please sign in to comment.