grz-cli 1.0.3__tar.gz → 1.1.1__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.
@@ -1,5 +1,24 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.1.1](https://github.com/BfArM-MVH/grz-tools/compare/grz-cli-v1.1.0...grz-cli-v1.1.1) (2025-07-23)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **grzctl,grz-cli:** bump dependencies ([#303](https://github.com/BfArM-MVH/grz-tools/issues/303)) ([cf12d35](https://github.com/BfArM-MVH/grz-tools/commit/cf12d35a7a20dcb5494a3576ccc06c393f763367))
9
+
10
+ ## [1.1.0](https://github.com/BfArM-MVH/grz-tools/compare/grz-cli-v1.0.3...grz-cli-v1.1.0) (2025-07-21)
11
+
12
+
13
+ ### Features
14
+
15
+ * **grz-cli,grzctl,grz-check:** Add grz-check ([#240](https://github.com/BfArM-MVH/grz-tools/issues/240)) ([57048f6](https://github.com/BfArM-MVH/grz-tools/commit/57048f66888cb566887e627a2b973c3f8b1b83c5))
16
+
17
+
18
+ ### Bug Fixes
19
+
20
+ * **grz-cli,grzctl:** bump deps to make VCFs optional ([#291](https://github.com/BfArM-MVH/grz-tools/issues/291)) ([fe4ac2f](https://github.com/BfArM-MVH/grz-tools/commit/fe4ac2f8230b804ad9ec2c6d2102207ab97b0365))
21
+
3
22
  ## [1.0.3](https://github.com/BfArM-MVH/grz-tools/compare/grz-cli-v1.0.2...grz-cli-v1.0.3) (2025-07-14)
4
23
 
5
24
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: grz-cli
3
- Version: 1.0.3
3
+ Version: 1.1.1
4
4
  Summary: Tool for validation, encryption and upload of MV submissions to GDCs.
5
5
  Project-URL: Homepage, https://github.com/BfArM-MVH/grz-tools
6
6
  Project-URL: Repository, https://github.com/BfArM-MVH/grz-tools
@@ -16,8 +16,8 @@ Requires-Python: >=3.12
16
16
  Requires-Dist: boto3<2,>=1.36
17
17
  Requires-Dist: click<9,>=8.2
18
18
  Requires-Dist: crypt4gh<2,>=1.7
19
- Requires-Dist: grz-common<2,>=1.0.3
20
- Requires-Dist: grz-pydantic-models<3,>=2.1.0
19
+ Requires-Dist: grz-common<2,>=1.1.1
20
+ Requires-Dist: grz-pydantic-models<3,>=2.1.2
21
21
  Requires-Dist: jsonschema<5,>=4.23.0
22
22
  Requires-Dist: platformdirs<5,>=4.3.6
23
23
  Requires-Dist: pydantic-settings<2.10,>=2.9.0
@@ -22,11 +22,11 @@ dependencies = [
22
22
  "pydantic >=2.9.2,<2.10",
23
23
  "pydantic-settings >=2.9.0,<2.10",
24
24
  "platformdirs >=4.3.6,<5",
25
- "grz-pydantic-models >=2.1.0,<3",
25
+ "grz-pydantic-models >=2.1.2,<3",
26
26
  "pysam ==0.23.*",
27
27
  "rich ==13.*",
28
28
  "requests >=2.32.3,<3",
29
- "grz-common >=1.0.3,<2",
29
+ "grz-common >=1.1.1,<2",
30
30
  ]
31
31
  classifiers = [
32
32
  "Programming Language :: Python :: 3",
@@ -0,0 +1 @@
1
+ __version__ = "1.1.1"
@@ -5,7 +5,7 @@ from pathlib import Path
5
5
 
6
6
  import click
7
7
  from grz_cli.models.config import ValidateConfig
8
- from grz_common.cli import config_file, force, submission_dir
8
+ from grz_common.cli import config_file, force, submission_dir, threads
9
9
  from grz_common.workers.worker import Worker
10
10
 
11
11
  log = logging.getLogger(__name__)
@@ -15,7 +15,15 @@ log = logging.getLogger(__name__)
15
15
  @submission_dir
16
16
  @config_file
17
17
  @force
18
- def validate(submission_dir, config_file, force):
18
+ @threads
19
+ @click.option(
20
+ "--with-grz-check/--no-grz-check",
21
+ "with_grz_check",
22
+ default=True,
23
+ hidden=True,
24
+ help="Whether to use grz-check to perform validation",
25
+ )
26
+ def validate(submission_dir, config_file, force, threads, with_grz_check):
19
27
  """
20
28
  Validate the submission.
21
29
 
@@ -33,7 +41,8 @@ def validate(submission_dir, config_file, force):
33
41
  files_dir=submission_dir / "files",
34
42
  log_dir=submission_dir / "logs",
35
43
  encrypted_files_dir=submission_dir / "encrypted_files",
44
+ threads=threads,
36
45
  )
37
- worker_inst.validate(identifiers=config.identifiers, force=force)
46
+ worker_inst.validate(identifiers=config.identifiers, force=force, with_grz_check=with_grz_check)
38
47
 
39
48
  log.info("Validation finished!")
@@ -1 +0,0 @@
1
- __version__ = "1.0.3"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes