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

Several minor samples/ fixes #1829

Merged
merged 1 commit into from
Aug 27, 2024
Merged

Conversation

jmarshall
Copy link
Member

@jmarshall jmarshall commented Aug 26, 2024

The samples/write_fast.c code confusingly never instantiated out_samhdr, and doesn't really have a header to supply. It got away with this because writing FASTA/Q doesn't actually need a header, so this PR makes that explicit.

Cast time_t, which isn't necessarily a long itself.

Use the usual -rm -f incantation so that doing make clean twice completes without diagnostics even when the $(PRGS) files already don't exist.

The code confusingly never instantiated out_samhdr, and doesn't really
have a header to supply. It got away with this because writing FASTA/Q
doesn't actually need a header, so make that explicit.

Cast time_t, which isn't necessarily a long itself.

Use the usual incantation so that doing "make clean" twice completes
without diagnostics even when the $(PRGS) files already don't exist.
@whitwham whitwham self-assigned this Aug 27, 2024
@whitwham whitwham merged commit 5f49a1b into samtools:develop Aug 27, 2024
9 checks passed
@whitwham
Copy link
Contributor

Thanks.

@jmarshall jmarshall deleted the samples-trivia branch August 29, 2024 08:32
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.

2 participants