Skip to content

Commit

Permalink
Merge pull request #17 from cokelaer/main
Browse files Browse the repository at this point in the history
rename file and update __init__ (version)
  • Loading branch information
cokelaer committed Dec 29, 2023
2 parents 47da7fa + 344dad3 commit 1b1f650
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 10 deletions.
3 changes: 2 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,8 @@ Changelog
========= =======================================================================
Version Description
========= =======================================================================
1.5.1 * swictch working directory to fastq instead of demultiplex(regression)
1.5.2 * rename requirements.txt into tools.txt; update __init__
1.5.1 * switch working directory to fastq instead of demultiplex(regression)
1.5.0 * Uses click and new sequana_pipetools, add multiqc
1.4.0 * Implement demultiplexing of single cell ATAC seq data with
cellranger.
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"

[tool.poetry]
name = "sequana-demultiplex"
version = "1.5.1"
version = "1.5.2"
description = "Pipeline that runs bcl2fastq and ease demultiplexing of Sequencing data"
authors = ["Sequana Team"]
license = "BSD-3"
Expand Down
16 changes: 11 additions & 5 deletions sequana_pipelines/demultiplex/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
import pkg_resources
try:
version = pkg_resources.require("sequana_demultiplex")[0].version
except:
version = ">=0.8.0"
import importlib.metadata as metadata


def get_package_version(package_name):
try:
version = metadata.version(package_name)
return version
except metadata.PackageNotFoundError:
return f"{package_name} not found"


version = get_package_version("sequana-demultiplex")
3 changes: 0 additions & 3 deletions sequana_pipelines/demultiplex/requirements.txt

This file was deleted.

3 changes: 3 additions & 0 deletions sequana_pipelines/demultiplex/tools.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
bcl2fastq
dot
cellranger-atac

0 comments on commit 1b1f650

Please sign in to comment.