Repository navigation
Problem with commented header when reading a table #15513
Description
Activity
Welcome to Astropy 👋 and thank you for your first issue!
A project member will respond to you as soon as possible; in the meantime, please double-check the guidelines for submitting issues and make sure you've provided the requested details.
GitHub issues in the Astropy repository are used to track bug reports and feature requests; If your issue poses a question about how to use Astropy, please instead raise your question in the Astropy Discourse user forum and close this issue.
If you feel that this issue has not been responded to in a timely manner, please send a message directly to the development mailing list. If the issue is urgent or sensitive in nature (e.g., a security vulnerability) please send an e-mail directly to the private e-mail [email protected].
Did you try using
header_start=? See https://docs.astropy.org/en/stable/io/ascii/read.html#specifying-header-and-data-location@gabbmacedo : This issue has been open for a year. Did you successfully read the table with the advice by @pllim ? If so, can we close the issue? If not, can you tell us what's still missing and maybe upload the table somewhere so we I can try myself on my computer and see what the problem might be?
- addedClose?Tell stale bot that this issue/PR is staleTell stale bot that this issue/PR is stale
on Jan 13, 2025 github-actions commented
on Jan 14, 2025 on Jan 14, 2025 – with GitHub ActionsContributorMore actionsHi humans 👋 - this issue was labeled as Close? approximately 12 hours ago. If you think this issue should not be closed, a maintainer should remove the Close? label - otherwise, I will close this issue in 7 days.
If you believe I commented on this issue incorrectly, please report this here
github-actions commented
on Jan 22, 2025 on Jan 22, 2025 – with GitHub ActionsContributorMore actionsI'm going to close this issue as per my previous message, but if you feel that this issue should stay open, then feel free to re-open and remove the Close? label.
If this is the first time I am commenting on this issue, or if you believe I closed this issue incorrectly, please report this here
Im trying to read a table (isochrones) with a commented header but before the header there are more commented lines with infos (i dont want them). Below is the start of the table. The header begins at '' # Zini MH logAge ... " .

Im using ascii.read and tried format='commented_header' but i get this error:
Any ideas?