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

fix: include libraries in package data #27

Merged
merged 6 commits into from
Nov 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## development version

### Bug fixes

- All scripts in the bin directory are now made executable for all users on biowulf (#25).
- Libraries are now copied to the assets directory (#26).

## CRUISE v0.1.0

This is the first release of CRUISE 🎉
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.1-dev
0.1.1-dev.1
2 changes: 1 addition & 1 deletion main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ workflow {

ch_count = params.count_table ? file(params.count_table, checkIfExists: true) : null
if (!ch_count) { // trim reads and run mageck count
TRIM_COUNT(raw_reads, file(params.library))
TRIM_COUNT(raw_reads, file(params.library, checkIfExists: true))
ch_count = TRIM_COUNT.out.count
}

Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[build-system]
requires = [
"setuptools >= 48",
"setuptools >= 62.3.0",
"wheel >= 0.29.0",
]
build-backend = 'setuptools.build_meta'
Expand Down Expand Up @@ -61,7 +61,7 @@ Changelog = "https://github.com/CCBR/CRUISE/blob/main/docs/CHANGELOG.md"
cruise = "."

[tool.setuptools.package-data]
"*" = ["CITATION.cff", "LICENSE", "VERSION", "main.nf", "nextflow.config", "assets/*", "bin/*", "conf/*", "modules/*/*", "subworkflows/*/*"]
"*" = ["CITATION.cff", "LICENSE", "VERSION", "main.nf", "nextflow.config", "assets/**", "assets/**", "bin/**", "conf/**", "modules/**", "subworkflows/**"]

[tool.setuptools.dynamic]
version = {file = "VERSION"}
Expand Down
2 changes: 1 addition & 1 deletion subworkflows/local/mageck.nf
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ workflow MAGECK {
TEST(count, treat, ctrl)

if (params.design_matrix) {
MLE(count, file(params.design_matrix))
MLE(count, file(params.design_matrix, checkIfExists: true))
mle_gene = MLE.out.gene
mle_sgrna = MLE.out.sgrna
} else {
Expand Down