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

Basic structure to allow asserting on tiff files #2

Merged
merged 1 commit into from
Oct 30, 2024

Conversation

tom-seqera
Copy link
Collaborator

An initial attempt to provide a scaffold structure to write assertions for tiff files. Eg

then { 
  def tiff = path(process.out.tiff[0]).tiff
  def reference = path('reference.tiff').tiff

  // compare the metadata of the two tiffs, ignoring the bitmap data
  assert tiff.meta == reference.meta

  // or, compare the bitmaps of the two tiffs, ignoring the metadata
  assert tiff.bitmaps == reference.bitmaps
}

@tom-seqera tom-seqera added this pull request to the merge queue Oct 30, 2024
Merged via the queue into nf-core:master with commit 79e0301 Oct 30, 2024
3 checks passed
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