Function to get MD5sums of all files in directory that is an emitted element from a channel
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 13
- Forks
- 11
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 6
Description
Example:
then {
def stablefiles = []
file(process.out.db.get(0).get(1)).eachFileRecurse{ file -> if (!["database-build.log", "database.report.tsv", "timestamp", "taxonomy"].find {file.toString().endsWith(it)}) {stablefiles.add(file)} }
assertAll(
{ assert process.success },
{ assert snapshot(
stablefiles
).match()
}
)
}
Where the process.out.db contains a directory and subdirectories with multiple files, and I want to exclude database-build.log, database.report.tsv, and timestamp because they are variable files
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue provides no implementation file or test entry point. Start from the shown nf-test then block and the process.out.db channel value, and inspect how nf-test utility functions handle emitted directories and snapshots. Done means a utility can calculate MD5sums for the directory contents while excluding database-build.log, database.report.tsv, timestamp, and taxonomy.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- groovy
- Domain
- testing-qa
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100