looper 2.0.0a3__py3-none-any.whl → 2.0.1__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.
looper/_version.py CHANGED
@@ -1,2 +1,2 @@
1
- __version__ = "2.0.0a3"
1
+ __version__ = "2.0.1"
2
2
  # You must change the version in parser = pydantic_argparse.ArgumentParser in cli_pydantic.py!!!
looper/cli_pydantic.py CHANGED
@@ -340,7 +340,7 @@ def main(test_args=None) -> dict:
340
340
  prog="looper",
341
341
  description="Looper: A job submitter for Portable Encapsulated Projects",
342
342
  add_help=True,
343
- version="2.0.0a3",
343
+ version="2.0.1",
344
344
  )
345
345
 
346
346
  parser = add_short_arguments(parser, ArgumentEnum)
@@ -1,6 +1,6 @@
1
1
  """
2
2
  This package holds `pydantic` models that describe commands and their arguments.
3
3
 
4
- These can be used either by an HTTP API or with the `pydantic-argparse`
4
+ These can be used either by an HTTP API or with the `pydantic-argparse`
5
5
  library to build a CLI.
6
6
  """
looper/conductor.py CHANGED
@@ -1,4 +1,4 @@
1
- """ Pipeline job submission orchestration """
1
+ """Pipeline job submission orchestration"""
2
2
 
3
3
  import importlib
4
4
  import logging
@@ -18,7 +18,7 @@ from eido import read_schema, get_input_files_size
18
18
  from eido.const import INPUT_FILE_SIZE_KEY, MISSING_KEY
19
19
  from jinja2.exceptions import UndefinedError
20
20
 
21
- from peppy.const import CONFIG_KEY, SAMPLE_NAME_ATTR, SAMPLE_YAML_EXT
21
+ from peppy.const import CONFIG_KEY, SAMPLE_YAML_EXT
22
22
  from peppy.exceptions import RemoteYAMLError
23
23
  from pipestat import PipestatError
24
24
  from ubiquerg import expandpath
@@ -77,7 +77,7 @@ def _get_yaml_path(namespaces, template_key, default_name_appendix="", filename=
77
77
  # default YAML location
78
78
  f = (
79
79
  filename
80
- or f"{namespaces['sample'][SAMPLE_NAME_ATTR]}"
80
+ or f"{namespaces['sample'][namespaces['sample']['_project'].sample_table_index]}"
81
81
  f"{default_name_appendix}"
82
82
  f"{SAMPLE_YAML_EXT[0]}"
83
83
  )
looper/const.py CHANGED
@@ -1,4 +1,4 @@
1
- """ Shared project constants """
1
+ """Shared project constants"""
2
2
 
3
3
  import os
4
4
  from enum import Enum
looper/divvy.py CHANGED
@@ -1,4 +1,4 @@
1
- """ Computing configuration representation """
1
+ """Computing configuration representation"""
2
2
 
3
3
  import logging
4
4
  import os
looper/exceptions.py CHANGED
@@ -1,4 +1,4 @@
1
- """ Exceptions for specific looper issues. """
1
+ """Exceptions for specific looper issues."""
2
2
 
3
3
  from abc import ABCMeta
4
4
  from collections.abc import Iterable
looper/parser_types.py CHANGED
@@ -1,4 +1,4 @@
1
- """ Definitions of the parser argument types """
1
+ """Definitions of the parser argument types"""
2
2
 
3
3
  from yacman import YAMLConfigManager
4
4
 
@@ -1,4 +1,4 @@
1
- """ Model the connection between a pipeline and a project or executor. """
1
+ """Model the connection between a pipeline and a project or executor."""
2
2
 
3
3
  import os
4
4
  from collections.abc import Mapping
looper/project.py CHANGED
@@ -1,4 +1,4 @@
1
- """ Looper version of NGS project model. """
1
+ """Looper version of NGS project model."""
2
2
 
3
3
  import itertools
4
4
  import os
looper/utils.py CHANGED
@@ -1,4 +1,4 @@
1
- """ Helpers without an obvious logical home. """
1
+ """Helpers without an obvious logical home."""
2
2
 
3
3
  import argparse
4
4
  from collections import defaultdict
@@ -1112,7 +1112,6 @@ def inspect_looper_config_file(looper_config_dict) -> None:
1112
1112
 
1113
1113
 
1114
1114
  def expand_nested_var_templates(var_templates_dict, namespaces):
1115
-
1116
1115
  "Takes all var_templates as a dict and recursively expands any paths."
1117
1116
 
1118
1117
  result = {}
@@ -1127,7 +1126,6 @@ def expand_nested_var_templates(var_templates_dict, namespaces):
1127
1126
 
1128
1127
 
1129
1128
  def render_nested_var_templates(var_templates_dict, namespaces):
1130
-
1131
1129
  "Takes all var_templates as a dict and recursively renders the jinja templates."
1132
1130
 
1133
1131
  result = {}
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: looper
3
- Version: 2.0.0a3
3
+ Version: 2.0.1
4
4
  Summary: A pipeline submission engine that parses sample inputs and submits pipelines for each sample.
5
5
  Home-page: https://github.com/pepkit/looper
6
6
  Author: Nathan Sheffield, Vince Reuter, Michal Stolarczyk, Johanna Klughammer, Andre Rendeiro
@@ -16,7 +16,7 @@ Classifier: Topic :: Scientific/Engineering :: Bio-Informatics
16
16
  Description-Content-Type: text/markdown
17
17
  License-File: LICENSE.txt
18
18
  Requires-Dist: colorama>=0.3.9
19
- Requires-Dist: eido>=0.2.3
19
+ Requires-Dist: eido>=0.2.4
20
20
  Requires-Dist: jinja2
21
21
  Requires-Dist: logmuse>=0.2.0
22
22
  Requires-Dist: pandas>=2.0.2
@@ -25,10 +25,19 @@ Requires-Dist: pipestat>=0.12.0a1
25
25
  Requires-Dist: peppy>=0.40.6
26
26
  Requires-Dist: pyyaml>=3.12
27
27
  Requires-Dist: rich>=9.10.0
28
- Requires-Dist: ubiquerg>=0.8.1a1
28
+ Requires-Dist: ubiquerg>=0.8.1
29
29
  Requires-Dist: yacman==0.9.3
30
30
  Requires-Dist: pydantic-argparse>=0.9.0
31
31
  Requires-Dist: psutil
32
+ Dynamic: author
33
+ Dynamic: classifier
34
+ Dynamic: description
35
+ Dynamic: description-content-type
36
+ Dynamic: home-page
37
+ Dynamic: keywords
38
+ Dynamic: license
39
+ Dynamic: requires-dist
40
+ Dynamic: summary
32
41
 
33
42
  # <img src="docs/img/looper_logo.svg" alt="looper logo" height="70">
34
43
 
@@ -1,22 +1,22 @@
1
1
  looper/__init__.py,sha256=f_z9YY4ibOk7eyWoaViH_VaCXMlPQeiftbnibSFj-3E,1333
2
2
  looper/__main__.py,sha256=OOCmI-dPUvInnJHkHNMf54cblNJ3Yl9ELOwZcfOXmD8,240
3
- looper/_version.py,sha256=MwJwmoXPcF0oLwdO3af_PLuTBNXWHfGxew5Q7p37mTQ,121
3
+ looper/_version.py,sha256=DW9L8zOJPcNY9ZbgS_iQmVE_rIc1YpAHFt8cZRRXFZU,119
4
4
  looper/cli_divvy.py,sha256=_VGbOFLkXtKdkZA6omlzgXbXkuUM5aLQ50aTTtbTrVI,5975
5
- looper/cli_pydantic.py,sha256=BA-jq6lyFnGoNNLCKAFrfqMQ7qRR3qxYK62PfMEoKA4,14425
6
- looper/conductor.py,sha256=lzY6Gzsb8oX-KLzLkRa0XrYWSxLeiy6jRmmD15WNAkw,35116
7
- looper/const.py,sha256=OscEELQsyLKlSrmwuXfyLRwpAUJUEpGD2UxBeLJDXgw,8703
8
- looper/divvy.py,sha256=yokD0--xN0kaxPuPRZrRPgKinl0Sqt0cvkmNMvwe94A,15860
9
- looper/exceptions.py,sha256=weSXsPadikAHVJvUUOT1uE56C_nKqgC3iBOvDebPDVE,3572
5
+ looper/cli_pydantic.py,sha256=KS26gh_vF9fxjVpuBbI1K4sgokT1PWme4klwwcphLWQ,14423
6
+ looper/conductor.py,sha256=EvVSZ9czG8-cRDLl2aXHZPeQ02J4xM0T_Y6mYO_2jTQ,35131
7
+ looper/const.py,sha256=eClmwc0c1r7zjQKrqBPa_OUOnoCqNNe0e64xElvLQHA,8701
8
+ looper/divvy.py,sha256=KQSIxgeiFJf73c7xpAV8CoxUIuXjcfMphNWKSZXmuP0,15858
9
+ looper/exceptions.py,sha256=-VEExHqjAtOSacBx45DA_9c-2i4EqxqGRLttTKxXXgg,3570
10
10
  looper/looper.py,sha256=zNszsV50ZkC5ioaLHgMg9H3hSTEHAAV-jBpLra3OIKw,31624
11
- looper/parser_types.py,sha256=d3FHt54f9jo9VZMr5SQkbghcAdABqiYZW2JBGO5EBnw,2327
12
- looper/pipeline_interface.py,sha256=mN4-XICyZzuVLTOq3b0ijppYe6ib_Ljlyf6KxZCJh2A,14537
11
+ looper/parser_types.py,sha256=PgAdrtCGvXhXcX7UbW8E3oC414uv1mKV4sTnXVHtIzE,2325
12
+ looper/pipeline_interface.py,sha256=NSAHx1ITmODy--Eh_b2oO4hP4mSHvs_7lkwuFLXbjsE,14535
13
13
  looper/plugins.py,sha256=MaMdPmK9U_4FkNJE5kccohBbY1i2qj1NTEucubFOJek,5747
14
14
  looper/processed_project.py,sha256=jZxoMYafvr-OHFxylc5ivGty1VwXBZhl0kgoFkY-174,9837
15
- looper/project.py,sha256=SFHdi58eRBWtye5lUFhwzBcG7ejrMurmDzmkrC3XAic,34339
16
- looper/utils.py,sha256=-4QlScIB7eewIbmEJdAv2d0ZE0qr_q9acm2XUOiMEek,39769
15
+ looper/project.py,sha256=uoh8zGP4pdo630pcxLW5hdB5a2cP-YK8-CFd6F26Yus,34337
16
+ looper/utils.py,sha256=42YP5Qz41TDUW45ptDio_2w8f3iEi2judeBo9d5yJh0,39765
17
17
  looper/command_models/DEVELOPER.md,sha256=eRxnrO-vqNJjExzamXKEq5wr_-Zw6PQEwkS9RPinYrk,2775
18
18
  looper/command_models/README.md,sha256=3RGegeZlTZYnhcHXRu6bdI_81WZom2q7QYMV-KGYY7U,588
19
- looper/command_models/__init__.py,sha256=6QWC2TewowEL7dATli5YpMmFWuXaLEPktofJCXkYUBI,187
19
+ looper/command_models/__init__.py,sha256=suzlc6tiNFQlv9b--aZdE9uyklTcKQ_z4YGyLfO0Ru0,186
20
20
  looper/command_models/arguments.py,sha256=I9IUdDcklfctA9gdYvxyy29WawSCYPO5FwozgisCO94,9025
21
21
  looper/command_models/commands.py,sha256=nBD8uOxpjby2G0n-PuMKvRBM6m5tra_Mz_nlZALwmRE,9813
22
22
  looper/default_config/divvy_config.yaml,sha256=wK5kLDGBV2wwoyqg2rl3X8SXjds4x0mwBUjUzF1Ln7g,1705
@@ -60,9 +60,9 @@ looper/schemas/divvy_config_schema.yaml,sha256=7GJfKLc3VX4RGjHnOE1zxwsHXhj_ur9za
60
60
  looper/schemas/pipeline_interface_schema_generic.yaml,sha256=3YfKFyRUIwxG41FEidR1dXe9IU6ye51LSUBfSpmMuss,1773
61
61
  looper/schemas/pipeline_interface_schema_project.yaml,sha256=-ZWyA0lKXWik3obuLNVk3IsAZYfbLVbCDvJnD-Fcluo,1567
62
62
  looper/schemas/pipeline_interface_schema_sample.yaml,sha256=x0OwVnijJpvm50DscvvJujdK4UAI7d71pqVemQS-D-0,1564
63
- looper-2.0.0a3.dist-info/LICENSE.txt,sha256=oB6ZGDa4kcznznJKJsLLFFcOZyi8Y6e2Jv0rJozgp-I,1269
64
- looper-2.0.0a3.dist-info/METADATA,sha256=tP0InSt3Xn7098v19ZDWawfATd2Ez2zoMsecZKv6SCM,1762
65
- looper-2.0.0a3.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
66
- looper-2.0.0a3.dist-info/entry_points.txt,sha256=iHltI2_Jdved27vccmWhvmcHWUZ7Mf6CfDV6QkY1Lc8,91
67
- looper-2.0.0a3.dist-info/top_level.txt,sha256=I0Yf7djsoQAMzwHBbDiQi9hGtq4Z41_Ma5CX8qXG8Y8,7
68
- looper-2.0.0a3.dist-info/RECORD,,
63
+ looper-2.0.1.dist-info/LICENSE.txt,sha256=oB6ZGDa4kcznznJKJsLLFFcOZyi8Y6e2Jv0rJozgp-I,1269
64
+ looper-2.0.1.dist-info/METADATA,sha256=GPVKXrQreBCtmdWPvAiXb1Hci6InnMu3OgawD_IDcF0,1943
65
+ looper-2.0.1.dist-info/WHEEL,sha256=jB7zZ3N9hIM9adW7qlTAyycLYW9npaWKLRzaoVcLKcM,91
66
+ looper-2.0.1.dist-info/entry_points.txt,sha256=iHltI2_Jdved27vccmWhvmcHWUZ7Mf6CfDV6QkY1Lc8,91
67
+ looper-2.0.1.dist-info/top_level.txt,sha256=I0Yf7djsoQAMzwHBbDiQi9hGtq4Z41_Ma5CX8qXG8Y8,7
68
+ looper-2.0.1.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.6.0)
2
+ Generator: setuptools (75.8.2)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5