fabro/nodes/solve/response.md
Fabro a09b191f87 checkpoint
⚒️ Generated with [Fabro](https://fabro.sh)
2026-03-16 08:05:58 -04:00

776 B

All 12 tests pass (8 unit tests + 4 doctests).

Here's a summary of the minimal changes made to /home/daytona/astropy/astropy/io/ascii/qdp.py:

  1. Line 71: Added re.IGNORECASE flag to re.compile(_type_re) — this makes the regex that classifies QDP lines case-insensitive, so read serr 1 2 is recognized as a command just like READ SERR 1 2. This also handles NO/no/No in data and "new" lines.

  2. Line 309: Changed if v == "NO": to if v.upper() == "NO": — this ensures that when the regex now matches lowercase no as valid data/new markers, the data processing code also handles them correctly as masked values.

  3. Line 36-37: Added a doctest example _line_type("read serr 3") → 'command' to document the case-insensitive behavior.