Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing SQ tags as per the spec #1238

Merged
merged 4 commits into from
Oct 20, 2023
Merged

Conversation

nh13
Copy link
Contributor

@nh13 nh13 commented Oct 18, 2023

See #1237

@@ -127,7 +128,8 @@ KNOWN_HEADER_FIELDS = {"HD" : {"VN" : str, "SO" : str, "GO" : str},
# the end as parsing a CL will ignore any subsequent records.
VALID_HEADER_ORDER = {"HD" : ("VN", "SO", "GO"),
"SQ" : ("SN", "LN", "AS", "M5",
"UR", "SP", "AH"),
"UR", "SP", "AH", "TP",
"DS", "AN"),
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are not in the same order as the spec, so we could take the time to update them?
Screenshot 2023-10-18 at 4 53 45 PM

@jmarshall jmarshall merged commit cdc0ed1 into pysam-developers:master Oct 20, 2023
@jmarshall
Copy link
Member

Thanks. I've added a couple missing from other headers too. No need to reorder them just now, as I think the way forward for this functionality is for these two tables to largely go away — see further comments on #1237.

@tfenne
Copy link

tfenne commented Oct 20, 2023

Thanks @jmarshall !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants