gpas 2.2.3__tar.gz → 3.0.0__tar.gz

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.
Files changed (133) hide show
  1. {gpas-2.2.3 → gpas-3.0.0}/.gitignore +3 -0
  2. {gpas-2.2.3 → gpas-3.0.0}/CHANGELOG.md +28 -0
  3. {gpas-2.2.3 → gpas-3.0.0}/Dockerfile +1 -1
  4. gpas-3.0.0/PKG-INFO +648 -0
  5. gpas-3.0.0/README_pypi.md +620 -0
  6. {gpas-2.2.3 → gpas-3.0.0}/docs/auth.md +6 -6
  7. {gpas-2.2.3 → gpas-3.0.0}/docs/autocomplete.md +1 -1
  8. {gpas-2.2.3 → gpas-3.0.0}/docs/balance.md +2 -2
  9. {gpas-2.2.3 → gpas-3.0.0}/docs/build-csv.md +1 -1
  10. {gpas-2.2.3 → gpas-3.0.0}/docs/decontaminate.md +1 -1
  11. {gpas-2.2.3 → gpas-3.0.0}/docs/download.md +1 -1
  12. gpas-3.0.0/docs/get-amplicon-schemes.md +9 -0
  13. gpas-3.0.0/docs/get-pipelines.md +9 -0
  14. {gpas-2.2.3 → gpas-3.0.0}/docs/install-dev.md +11 -3
  15. {gpas-2.2.3 → gpas-3.0.0}/docs/query-raw.md +1 -1
  16. {gpas-2.2.3 → gpas-3.0.0}/docs/query-status.md +1 -1
  17. {gpas-2.2.3 → gpas-3.0.0}/docs/upload.md +5 -5
  18. {gpas-2.2.3 → gpas-3.0.0}/docs/validate.md +1 -1
  19. {gpas-2.2.3 → gpas-3.0.0}/generate_pypi_readme.sh +1 -1
  20. {gpas-2.2.3 → gpas-3.0.0}/pyproject.toml +2 -1
  21. {gpas-2.2.3 → gpas-3.0.0}/src/gpas/__init__.py +1 -1
  22. {gpas-2.2.3 → gpas-3.0.0}/src/gpas/cli.py +170 -29
  23. gpas-3.0.0/src/gpas/client/env.py +248 -0
  24. {gpas-2.2.3 → gpas-3.0.0}/src/gpas/client/upload_client.py +38 -14
  25. gpas-3.0.0/src/gpas/constants.py +39 -0
  26. {gpas-2.2.3 → gpas-3.0.0}/src/gpas/log_utils.py +46 -12
  27. {gpas-2.2.3 → gpas-3.0.0}/src/gpas/models.py +21 -21
  28. {gpas-2.2.3 → gpas-3.0.0}/src/gpas/tasks/__init__.py +8 -0
  29. gpas-3.0.0/src/gpas/tasks/authentication.py +152 -0
  30. {gpas-2.2.3 → gpas-3.0.0}/src/gpas/tasks/download.py +86 -26
  31. {gpas-2.2.3 → gpas-3.0.0}/src/gpas/tasks/prep_samples.py +75 -19
  32. {gpas-2.2.3 → gpas-3.0.0}/src/gpas/tasks/query.py +36 -21
  33. {gpas-2.2.3 → gpas-3.0.0}/src/gpas/tasks/upload.py +150 -83
  34. {gpas-2.2.3 → gpas-3.0.0}/src/gpas/tasks/validate.py +2 -4
  35. {gpas-2.2.3 → gpas-3.0.0}/src/gpas/types.py +26 -10
  36. {gpas-2.2.3 → gpas-3.0.0}/src/gpas/util.py +11 -9
  37. {gpas-2.2.3 → gpas-3.0.0}/tests/conftest.py +8 -1
  38. gpas-3.0.0/tests/data/auto_upload_csvs/batch1.csv +4 -0
  39. gpas-3.0.0/tests/data/auto_upload_csvs/batch2.csv +3 -0
  40. gpas-3.0.0/tests/data/auto_upload_csvs/illumina.csv +6 -0
  41. gpas-3.0.0/tests/data/auto_upload_csvs/ont.csv +6 -0
  42. gpas-3.0.0/tests/data/auto_upload_csvs/sars_cov_2_illumina_amp_scheme.csv +6 -0
  43. gpas-3.0.0/tests/data/illumina_extended.csv +2 -0
  44. gpas-3.0.0/tests/data/reads/tuberculosis_1_1_1_1.fastq +4 -0
  45. gpas-3.0.0/tests/data/reads/tuberculosis_1_2.fastq +4 -0
  46. gpas-3.0.0/tests/test_auth.py +179 -0
  47. {gpas-2.2.3 → gpas-3.0.0}/tests/test_build_csv.py +12 -17
  48. {gpas-2.2.3 → gpas-3.0.0}/tests/test_cli.py +24 -43
  49. gpas-3.0.0/tests/test_env.py +117 -0
  50. {gpas-2.2.3 → gpas-3.0.0}/tests/test_tasks.py +10 -11
  51. {gpas-2.2.3 → gpas-3.0.0}/tests/test_upload.py +101 -25
  52. gpas-2.2.3/PKG-INFO +0 -421
  53. gpas-2.2.3/README_pypi.md +0 -394
  54. gpas-2.2.3/src/gpas/client/env.py +0 -127
  55. gpas-2.2.3/src/gpas/constants.py +0 -27
  56. gpas-2.2.3/src/gpas/tasks/authentication.py +0 -83
  57. gpas-2.2.3/tests/data/auto_upload_csvs/batch1.csv +0 -4
  58. gpas-2.2.3/tests/data/auto_upload_csvs/batch2.csv +0 -3
  59. gpas-2.2.3/tests/data/auto_upload_csvs/illumina.csv +0 -6
  60. gpas-2.2.3/tests/data/auto_upload_csvs/ont.csv +0 -6
  61. gpas-2.2.3/tests/data/auto_upload_csvs/sars_cov_2_illumina_amp_scheme.csv +0 -6
  62. gpas-2.2.3/tests/test_auth.py +0 -94
  63. gpas-2.2.3/uv.lock +0 -695
  64. {gpas-2.2.3 → gpas-3.0.0}/.env.local +0 -0
  65. {gpas-2.2.3 → gpas-3.0.0}/.github/workflows/test.yml +0 -0
  66. {gpas-2.2.3 → gpas-3.0.0}/.pre-commit-config.yaml +0 -0
  67. {gpas-2.2.3 → gpas-3.0.0}/GPL3 +0 -0
  68. {gpas-2.2.3 → gpas-3.0.0}/LICENSE +0 -0
  69. {gpas-2.2.3 → gpas-3.0.0}/README.md +0 -0
  70. {gpas-2.2.3 → gpas-3.0.0}/docs/assets/example-input-mycobacteria.csv +0 -0
  71. {gpas-2.2.3 → gpas-3.0.0}/docs/assets/example-input-sarscov2.csv +0 -0
  72. {gpas-2.2.3 → gpas-3.0.0}/docs/assets/example-mapping.csv +0 -0
  73. {gpas-2.2.3 → gpas-3.0.0}/docs/install.md +0 -0
  74. {gpas-2.2.3 → gpas-3.0.0}/docs/intro.md +0 -0
  75. {gpas-2.2.3 → gpas-3.0.0}/docs/releases.md +0 -0
  76. {gpas-2.2.3 → gpas-3.0.0}/docs/support.md +0 -0
  77. {gpas-2.2.3 → gpas-3.0.0}/environment.yml +0 -0
  78. {gpas-2.2.3 → gpas-3.0.0}/src/gpas/errors.py +0 -0
  79. {gpas-2.2.3 → gpas-3.0.0}/src/gpas/http_helpers.py +0 -0
  80. {gpas-2.2.3 → gpas-3.0.0}/tests/__init__.py +0 -0
  81. {gpas-2.2.3 → gpas-3.0.0}/tests/data/empty_files/read_1_1.fastq +0 -0
  82. {gpas-2.2.3 → gpas-3.0.0}/tests/data/empty_files/read_1_1.fastq.gz +0 -0
  83. {gpas-2.2.3 → gpas-3.0.0}/tests/data/empty_files/read_1_2.fastq +0 -0
  84. {gpas-2.2.3 → gpas-3.0.0}/tests/data/empty_files/read_1_2.fastq.gz +0 -0
  85. {gpas-2.2.3 → gpas-3.0.0}/tests/data/empty_files/read_2_1.fastq.gz +0 -0
  86. {gpas-2.2.3 → gpas-3.0.0}/tests/data/empty_files/read_2_2.fastq.gz +0 -0
  87. {gpas-2.2.3 → gpas-3.0.0}/tests/data/empty_files/read_3_1.fastq.gz +0 -0
  88. {gpas-2.2.3 → gpas-3.0.0}/tests/data/empty_files/read_3_2.fastq.gz +0 -0
  89. {gpas-2.2.3 → gpas-3.0.0}/tests/data/empty_files/read_4_1.fastq.gz +0 -0
  90. {gpas-2.2.3 → gpas-3.0.0}/tests/data/empty_files/read_4_2.fastq.gz +0 -0
  91. {gpas-2.2.3 → gpas-3.0.0}/tests/data/empty_files/read_5_1.fastq.gz +0 -0
  92. {gpas-2.2.3 → gpas-3.0.0}/tests/data/empty_files/read_5_2.fastq.gz +0 -0
  93. {gpas-2.2.3 → gpas-3.0.0}/tests/data/illumina-2.csv +0 -0
  94. {gpas-2.2.3 → gpas-3.0.0}/tests/data/illumina-gzipped.csv +0 -0
  95. {gpas-2.2.3 → gpas-3.0.0}/tests/data/illumina.csv +0 -0
  96. {gpas-2.2.3 → gpas-3.0.0}/tests/data/invalid/empty-fastq.csv +0 -0
  97. {gpas-2.2.3 → gpas-3.0.0}/tests/data/invalid/empty-sample-name.csv +0 -0
  98. {gpas-2.2.3 → gpas-3.0.0}/tests/data/invalid/empty-specimen-organism.csv +0 -0
  99. {gpas-2.2.3 → gpas-3.0.0}/tests/data/invalid/invalid-control.csv +0 -0
  100. {gpas-2.2.3 → gpas-3.0.0}/tests/data/invalid/invalid-fastq-path.csv +0 -0
  101. {gpas-2.2.3 → gpas-3.0.0}/tests/data/invalid/invalid-instrument-platform.csv +0 -0
  102. {gpas-2.2.3 → gpas-3.0.0}/tests/data/invalid/invalid-specimen-organism.csv +0 -0
  103. {gpas-2.2.3 → gpas-3.0.0}/tests/data/invalid/mismatched-fastqs.csv +0 -0
  104. {gpas-2.2.3 → gpas-3.0.0}/tests/data/invalid/mixed-instrument-platform.csv +0 -0
  105. {gpas-2.2.3 → gpas-3.0.0}/tests/data/myco_illumina_amp.csv +0 -0
  106. {gpas-2.2.3 → gpas-3.0.0}/tests/data/ont-2.csv +0 -0
  107. {gpas-2.2.3 → gpas-3.0.0}/tests/data/ont-gzipped.csv +0 -0
  108. {gpas-2.2.3 → gpas-3.0.0}/tests/data/ont.csv +0 -0
  109. {gpas-2.2.3 → gpas-3.0.0}/tests/data/reads/bad_1_1.fastq.gz +0 -0
  110. {gpas-2.2.3 → gpas-3.0.0}/tests/data/reads/bad_1_2.fastq.gz +0 -0
  111. {gpas-2.2.3 → gpas-3.0.0}/tests/data/reads/empty_1_1.fastq +0 -0
  112. {gpas-2.2.3 → gpas-3.0.0}/tests/data/reads/empty_1_2.fastq +0 -0
  113. {gpas-2.2.3 → gpas-3.0.0}/tests/data/reads/human_1_1.fastq.gz +0 -0
  114. {gpas-2.2.3 → gpas-3.0.0}/tests/data/reads/human_1_2.fastq.gz +0 -0
  115. {gpas-2.2.3 → gpas-3.0.0}/tests/data/reads/sars-cov-2_1_1.fastq +0 -0
  116. {gpas-2.2.3 → gpas-3.0.0}/tests/data/reads/sars-cov-2_1_1.fastq.gz +0 -0
  117. {gpas-2.2.3 → gpas-3.0.0}/tests/data/reads/sars-cov-2_1_2.fastq +0 -0
  118. {gpas-2.2.3 → gpas-3.0.0}/tests/data/reads/sars-cov-2_1_2.fastq.gz +0 -0
  119. {gpas-2.2.3 → gpas-3.0.0}/tests/data/reads/sars-cov-2_2_1.fastq.gz +0 -0
  120. {gpas-2.2.3 → gpas-3.0.0}/tests/data/reads/sars-cov-2_2_2.fastq.gz +0 -0
  121. {gpas-2.2.3 → gpas-3.0.0}/tests/data/reads/tuberculosis_1_1.fastq +0 -0
  122. {gpas-2.2.3 → gpas-3.0.0}/tests/data/reads/tuberculosis_1_1.fastq.gz +0 -0
  123. /gpas-2.2.3/tests/data/reads/tuberculosis_1_2.fastq → /gpas-3.0.0/tests/data/reads/tuberculosis_1_1_1_2.fastq +0 -0
  124. {gpas-2.2.3 → gpas-3.0.0}/tests/data/reads/tuberculosis_1_2.fastq.gz +0 -0
  125. {gpas-2.2.3 → gpas-3.0.0}/tests/data/sars-cov-2_illumina.csv +0 -0
  126. {gpas-2.2.3 → gpas-3.0.0}/tests/data/sars_cov_2_illumina_amp_scheme.csv +0 -0
  127. {gpas-2.2.3 → gpas-3.0.0}/tests/data/sars_cov_2_illumina_bad_amp_scheme.csv +0 -0
  128. {gpas-2.2.3 → gpas-3.0.0}/tests/data/sars_cov_2_illumina_mix_amp_scheme.csv +0 -0
  129. {gpas-2.2.3 → gpas-3.0.0}/tests/data/unmatched_files/read_1_1.fastq.gz +0 -0
  130. {gpas-2.2.3 → gpas-3.0.0}/tests/data/unmatched_files/read_1_2.fastq.gz +0 -0
  131. {gpas-2.2.3 → gpas-3.0.0}/tests/data/unmatched_files/read_2_1.fastq.gz +0 -0
  132. {gpas-2.2.3 → gpas-3.0.0}/tests/test_all.py +0 -0
  133. {gpas-2.2.3 → gpas-3.0.0}/tests/test_util.py +0 -0
@@ -142,3 +142,6 @@ dmypy.json
142
142
  /*.fastq.gz
143
143
  *mapping.csv
144
144
  upload.csv
145
+ mise.toml
146
+ *main_report*
147
+ clean-files/*
@@ -1,5 +1,32 @@
1
1
  ## Unreleased
2
2
 
3
+ ### 3.0.0 (2025-10-22)
4
+
5
+ ### 3.0.0-RC2 (2025-10-15)
6
+
7
+ ### Fixed
8
+
9
+ - [EV-2501](https://eit-oxford.atlassian.net/browse/EV-2501): Update filenames and paths for decontaminated files for each sample in metadata
10
+
11
+ ### 3.0.0-RC1 (2025-10-09)
12
+
13
+ ### Added
14
+
15
+ - [EV-2438](https://eit-oxford.atlassian.net/browse/EV-2438): Add refresh tokens in client
16
+ - [EV-2328](https://eit-oxford.atlassian.net/browse/EV-2328): MFA support in the client
17
+ - [EV-2439](https://eit-oxford.atlassian.net/browse/EV-2439): Add CLI_ACCESS_TOKEN environment variable for direct token authentication
18
+ - [EV-2154](https://eit-oxford.atlassian.net/browse/EV-2154): Add batch upload success tests and small refactor
19
+
20
+ ### Fixed
21
+
22
+ - [EV-2382](https://eit-oxford.atlassian.net/browse/EV-2382): documentation for build-csv needs to have subdivision as isocode not free text
23
+ - [EV-2090](https://eit-oxford.atlassian.net/browse/EV-2090): Don't show warning for amplicon scheme on myco pipelines
24
+ - [EV-2413](https://eit-oxford.atlassian.net/browse/EV-2413): Upload decontaminated files if present
25
+ - [EV-2416](https://eit-oxford.atlassian.net/browse/EV-2416): Rename cleaned illumina files so we can upload them
26
+ - [EV-2435](https://eit-oxford.atlassian.net/browse/EV-2435): Change all pathogena references to gpas
27
+ - [EV-2412](https://eit-oxford.atlassian.net/browse/EV-2412): Save clean files if save flag provided
28
+ - [EV-2485](https://eit-oxford.atlassian.net/browse/EV-2485): Fix memory performance in the client
29
+
3
30
  ## 2.2.3 (2025-09-09)
4
31
 
5
32
  ## 2.2.3-RC1 (2025-09-08)
@@ -9,6 +36,7 @@
9
36
  - [EV-2358](https://eit-oxford.atlassian.net/browse/EV-2358): allow follow redirects
10
37
  - [EV-2149](https://eit-oxford.atlassian.net/browse/EV-2149): minimum cli version enforcement.
11
38
  - [EV-1909](https://eit-oxford.atlassian.net/browse/EV-1909): Added calls to log mapping csv as downloaded in portal
39
+ - [EV-2352](https://eit-oxford.atlassian.net/browse/EV-2352): display and specify pipeline version
12
40
 
13
41
  ### Fixed
14
42
 
@@ -1,6 +1,6 @@
1
1
  # Bioconda-based build against latest PyPI release
2
2
  # Created for a specific user. Not part of the pypi release process
3
3
  FROM condaforge/miniforge3:latest
4
- ENV GPAS_CLIENT_VERSION=2.2.3
4
+ ENV GPAS_CLIENT_VERSION=3.0.0
5
5
  RUN mamba install -c bioconda hostile==1.1.0
6
6
  RUN pip install https://pypi.io/packages/source/g/gpas/gpas-${GPAS_CLIENT_VERSION}.tar.gz