-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from mksanger/apply_suggested_standards
Apply suggested standards
- Loading branch information
Showing
7 changed files
with
113 additions
and
122 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,7 @@ | |
# @author Michael Kubiak <[email protected]> | ||
|
||
import argparse | ||
from npg_id_generation import PacBioEntity | ||
from npg_id_generation.pac_bio import PacBioEntity | ||
|
||
parser = argparse.ArgumentParser( | ||
description="A script to generate a product id for a pac bio product from a given run and well" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +0,0 @@ | ||
from .main import PacBioEntity | ||
File renamed without changes.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[tool.poetry] | ||
name = "npg_id_generation" | ||
version = "0.1.0" | ||
version = "0.0.0" | ||
description = "Product ID generation." | ||
authors = ["Adam Blanchet <[email protected]>"] | ||
license = "GPL3-or-later" | ||
|
@@ -14,9 +14,14 @@ pytest = "^7.1.2" | |
black = "^22.6.0" | ||
flake8 = "^4.0.1" | ||
|
||
[tool.poetry-dynamic-versioning] | ||
enable = true | ||
pattern = '^((?P<epoch>\d+)!)?(?P<base>\d+(\.\d+)*)([-._]?((?P<stage>[a-zA-Z]+)[-._]?(?P<revision>\d+)?))?(\+(?P<tagged_metadata>.+))?$' | ||
format-jinja = "{% if distance == 0 %}{{ base }}{% else %}{{ base }}+{{ distance }}.{{ commit }}{% endif %}" | ||
|
||
[tool.poetry.scripts] | ||
generate_pac_bio_id = { reference = "bin/generate_pac_bio_id", type = "file", extras = [] } | ||
|
||
[build-system] | ||
requires = ["poetry-core>=1.0.0"] | ||
build-backend = "poetry.core.masonry.api" | ||
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning"] | ||
build-backend = "poetry_dynamic_versioning.backend" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters