samplesheet-parser 2.5.1__py3-none-any.whl → 2.5.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- samplesheet_parser/cli.py +9 -7
- {samplesheet_parser-2.5.1.dist-info → samplesheet_parser-2.5.2.dist-info}/METADATA +1 -1
- {samplesheet_parser-2.5.1.dist-info → samplesheet_parser-2.5.2.dist-info}/RECORD +6 -6
- {samplesheet_parser-2.5.1.dist-info → samplesheet_parser-2.5.2.dist-info}/WHEEL +0 -0
- {samplesheet_parser-2.5.1.dist-info → samplesheet_parser-2.5.2.dist-info}/entry_points.txt +0 -0
- {samplesheet_parser-2.5.1.dist-info → samplesheet_parser-2.5.2.dist-info}/licenses/LICENSE +0 -0
samplesheet_parser/cli.py
CHANGED
|
@@ -576,8 +576,8 @@ if _TYPER_AVAILABLE:
|
|
|
576
576
|
mismatches across sheets. Mixed V1/V2 inputs are auto-converted to the
|
|
577
577
|
target format.
|
|
578
578
|
|
|
579
|
-
Exits 0 on
|
|
580
|
-
Exits 1 if conflicts
|
|
579
|
+
Exits 0 on a successful merge (warnings are allowed).
|
|
580
|
+
Exits 1 if conflicts were found.
|
|
581
581
|
Exits 2 on bad arguments or unreadable files.
|
|
582
582
|
"""
|
|
583
583
|
from samplesheet_parser.merger import SampleSheetMerger
|
|
@@ -641,8 +641,9 @@ if _TYPER_AVAILABLE:
|
|
|
641
641
|
if result.output_path:
|
|
642
642
|
typer.echo(f"\nOutput: {result.output_path}")
|
|
643
643
|
|
|
644
|
-
|
|
645
|
-
|
|
644
|
+
# Warnings are advisory and do not fail the command; only genuine
|
|
645
|
+
# conflicts (which prevent a valid merged sheet) exit non-zero.
|
|
646
|
+
raise typer.Exit(code=1 if result.has_conflicts else 0)
|
|
646
647
|
|
|
647
648
|
# ---------------------------------------------------------------------------
|
|
648
649
|
# split
|
|
@@ -685,8 +686,7 @@ if _TYPER_AVAILABLE:
|
|
|
685
686
|
the sample rows are divided. Output filenames are
|
|
686
687
|
``{prefix}{group}_SampleSheet.csv``.
|
|
687
688
|
|
|
688
|
-
Exits 0 on success.
|
|
689
|
-
Exits 1 if warnings were produced (e.g. samples with no project).
|
|
689
|
+
Exits 0 on success (warnings are allowed).
|
|
690
690
|
Exits 2 on bad arguments or unreadable files.
|
|
691
691
|
"""
|
|
692
692
|
from samplesheet_parser.splitter import SampleSheetSplitter
|
|
@@ -732,7 +732,9 @@ if _TYPER_AVAILABLE:
|
|
|
732
732
|
for w in result.warnings:
|
|
733
733
|
typer.echo(f" {w}")
|
|
734
734
|
|
|
735
|
-
|
|
735
|
+
# Warnings are advisory and do not fail the command; a successful split
|
|
736
|
+
# exits 0 regardless of warnings.
|
|
737
|
+
raise typer.Exit(code=0)
|
|
736
738
|
|
|
737
739
|
# ---------------------------------------------------------------------------
|
|
738
740
|
# filter
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: samplesheet-parser
|
|
3
|
-
Version: 2.5.
|
|
3
|
+
Version: 2.5.2
|
|
4
4
|
Summary: Multi-vendor, format-agnostic parser for sequencing sample sheets — Illumina IEM V1 & BCLConvert V2 plus Element AVITI run manifests, with index validation and color-balance checking
|
|
5
5
|
Project-URL: Homepage, https://github.com/chaitanyakasaraneni/samplesheet-parser
|
|
6
6
|
Project-URL: Documentation, https://samplesheet-parser.readthedocs.io
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
samplesheet_parser/__init__.py,sha256=eSlshig-sXWyxW70vbd__lu9u6nfqVTyv-48MUsmiZg,2890
|
|
2
2
|
samplesheet_parser/chemistry.py,sha256=1I6jxzCmZqNqHitUzWQWo3JnuVHdASTVNUu-6jU4eoE,17631
|
|
3
|
-
samplesheet_parser/cli.py,sha256=
|
|
3
|
+
samplesheet_parser/cli.py,sha256=3Rz1Q1r_AeDdIS2uaRyK2Y7yGdAlveZf7GCF_38i3jY,32145
|
|
4
4
|
samplesheet_parser/converter.py,sha256=g4s5R6iB5mPDF-e8JD4Iezt2dMBBxgQ-OPL9vxJ2zM0,20236
|
|
5
5
|
samplesheet_parser/diff.py,sha256=RruQhKRi0Ja6x5pq8CA-yafJ4JQJ3p0JXDp68RS53GE,15369
|
|
6
6
|
samplesheet_parser/enums.py,sha256=SqxE5sRjBGRGk2J6lxpkgxb6luEqBTcdalok5lDFUS0,1790
|
|
@@ -18,8 +18,8 @@ samplesheet_parser/parsers/__init__.py,sha256=N5ICN_46x-ARbG8kyrck6g1V_gOU0Xacqz
|
|
|
18
18
|
samplesheet_parser/parsers/element.py,sha256=7DrketMyQzPnEvAaaj6pstAiuvAJ6ljcFltsU-uymxs,11358
|
|
19
19
|
samplesheet_parser/parsers/v1.py,sha256=MRt_BUJTmj763N2kByELNwQPY-_jcLKcwahG4jPBH98,23956
|
|
20
20
|
samplesheet_parser/parsers/v2.py,sha256=pCd18DNcpIIh7vJNEB8asRleIriH2NSx7h7NAtsomug,27982
|
|
21
|
-
samplesheet_parser-2.5.
|
|
22
|
-
samplesheet_parser-2.5.
|
|
23
|
-
samplesheet_parser-2.5.
|
|
24
|
-
samplesheet_parser-2.5.
|
|
25
|
-
samplesheet_parser-2.5.
|
|
21
|
+
samplesheet_parser-2.5.2.dist-info/METADATA,sha256=hkCh6kpMgWXQp6LUjs4RE5WWat8osCRYEuKhq9GSiNY,33619
|
|
22
|
+
samplesheet_parser-2.5.2.dist-info/WHEEL,sha256=zOwg4jB6zX2kU910N-cMawjivD6tO8NEWvE12je1bVk,87
|
|
23
|
+
samplesheet_parser-2.5.2.dist-info/entry_points.txt,sha256=jR2GOZmuJg60mY9vzOGunVh2-mYRxjpnlmC-4wGBfQ8,60
|
|
24
|
+
samplesheet_parser-2.5.2.dist-info/licenses/LICENSE,sha256=EIu8MSHMFea58nh2WwWsITEZ95TLW0PfRYCaYTE6HGk,781
|
|
25
|
+
samplesheet_parser-2.5.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|