looper 1.6.0a1__py3-none-any.whl → 1.6.0a3__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 +1 @@
1
- __version__ = "1.6.0a1"
1
+ __version__ = "1.6.0a3"
looper/cli_looper.py CHANGED
@@ -495,6 +495,12 @@ def build_parser():
495
495
  help="Number of attributes to display",
496
496
  type=int,
497
497
  )
498
+ parser.add_argument(
499
+ "--commands",
500
+ action="version",
501
+ version="{}".format(" ".join(subparsers.choices.keys())),
502
+ )
503
+
498
504
  result.append(parser)
499
505
  return result
500
506
 
looper/project.py CHANGED
@@ -111,9 +111,7 @@ class Project(peppyProject):
111
111
  compute settings.
112
112
  """
113
113
 
114
- def __init__(
115
- self, cfg=None, amendments=None, divcfg_path=None, runp=False, **kwargs
116
- ):
114
+ def __init__(self, cfg=None, amendments=None, divcfg_path=None, **kwargs):
117
115
  super(Project, self).__init__(cfg=cfg, amendments=amendments)
118
116
  prj_dict = kwargs.get("project_dict")
119
117
  pep_config = kwargs.get("pep_config", None)
@@ -122,7 +120,7 @@ class Project(peppyProject):
122
120
 
123
121
  # init project from pephub pep_config:
124
122
  if prj_dict is not None and cfg is None:
125
- self.from_dict(prj_dict)
123
+ self._from_dict(prj_dict)
126
124
  self["_config_file"] = os.getcwd() # for finding pipeline interface
127
125
  self["pep_config"] = pep_config
128
126
 
@@ -916,7 +914,7 @@ def make_set(items):
916
914
  try:
917
915
  # Check if user input single integer value for inclusion/exclusion criteria
918
916
  if len(items) == 1:
919
- items = list(map(int, items)) # list(int(items[0]))
917
+ items = list(map(str, items)) # list(int(items[0]))
920
918
  except:
921
919
  if isinstance(items, str):
922
920
  items = [items]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: looper
3
- Version: 1.6.0a1
3
+ Version: 1.6.0a3
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
@@ -23,7 +23,7 @@ Requires-Dist: logmuse >=0.2.0
23
23
  Requires-Dist: pandas >=2.0.2
24
24
  Requires-Dist: pephubclient >=0.1.2
25
25
  Requires-Dist: peppy >=0.40.0.a4
26
- Requires-Dist: pipestat >=v0.6.0a9
26
+ Requires-Dist: pipestat >=0.6.0a9
27
27
  Requires-Dist: pyyaml >=3.12
28
28
  Requires-Dist: rich >=9.10.0
29
29
  Requires-Dist: ubiquerg >=0.5.2
@@ -1,8 +1,8 @@
1
1
  looper/__init__.py,sha256=f_z9YY4ibOk7eyWoaViH_VaCXMlPQeiftbnibSFj-3E,1333
2
2
  looper/__main__.py,sha256=8CX2ae8mUQNI_Z8pdBT4i5UFqROFX1awyFnuYCKuYXg,238
3
- looper/_version.py,sha256=UG64J_OfEJF5nBy02cxP-9wbnmfesoV9F5GvRWXpSfM,24
3
+ looper/_version.py,sha256=XJ3CHO0NspbDhCNVnNqwEtFi_KpbeDM87P9-mGN9EXs,24
4
4
  looper/cli_divvy.py,sha256=J07x83sqC4jJeu3_yS6KOARPWmwKGAV7JvN33T5zDac,5907
5
- looper/cli_looper.py,sha256=0SYyPAPg8MEGOnp_vjn0Mxohe7Annr56hwDBX_DqM5U,25769
5
+ looper/cli_looper.py,sha256=unoNK8gtOg5r5T4vVhonoykegc7LzxCaxPPJfETon-g,25935
6
6
  looper/conductor.py,sha256=BmMATwtkHoPSsffYopCQ1WxK83O3UjOTFRrakgD6DzA,30231
7
7
  looper/const.py,sha256=bPj4lTuj2l6gwHROWqj16iHfJFo9ghZAz8THNREWW4U,8558
8
8
  looper/divvy.py,sha256=qa1ebbQTfNupAyDfhfEJ6mbZ_V3zk-D_E-Tck7miJ38,15688
@@ -12,7 +12,7 @@ looper/parser_types.py,sha256=d3FHt54f9jo9VZMr5SQkbghcAdABqiYZW2JBGO5EBnw,2327
12
12
  looper/pipeline_interface.py,sha256=y46tB1_73d1FX8N1w4-GGvRBJ7rqhenuUYVtUfIhK5s,14974
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=Ldsa__wLNnDpKFfN0cOCWQnL-pTuVrPbbHJPHFt9fcU,36196
15
+ looper/project.py,sha256=nkNP7ftVs82Tnk2Yn6FUp60_D6bjE9sSvySE0SHqsmg,36171
16
16
  looper/utils.py,sha256=i7srIXPEnQjtNaoP0ziRpdYfB7HNY5_3rW5LoKIM15I,27257
17
17
  looper/default_config/divvy_config.yaml,sha256=wK5kLDGBV2wwoyqg2rl3X8SXjds4x0mwBUjUzF1Ln7g,1705
18
18
  looper/default_config/divvy_templates/localhost_bulker_template.sub,sha256=yn5VB9Brt7Hck9LT17hD2o8Kn-76gYJQk_A-8C1Gr4k,164
@@ -55,9 +55,9 @@ looper/schemas/divvy_config_schema.yaml,sha256=7GJfKLc3VX4RGjHnOE1zxwsHXhj_ur9za
55
55
  looper/schemas/pipeline_interface_schema_generic.yaml,sha256=D16Rkpj03H9WnvA_N18iNU-hH_HwOuyESJ8Hk5hZSXc,1518
56
56
  looper/schemas/pipeline_interface_schema_project.yaml,sha256=-ZWyA0lKXWik3obuLNVk3IsAZYfbLVbCDvJnD-Fcluo,1567
57
57
  looper/schemas/pipeline_interface_schema_sample.yaml,sha256=x0OwVnijJpvm50DscvvJujdK4UAI7d71pqVemQS-D-0,1564
58
- looper-1.6.0a1.dist-info/LICENSE.txt,sha256=oB6ZGDa4kcznznJKJsLLFFcOZyi8Y6e2Jv0rJozgp-I,1269
59
- looper-1.6.0a1.dist-info/METADATA,sha256=apZ1c5_AxHNy1MxlLtOxGrXRZzG3tYlvWFzZQKMw3kU,1741
60
- looper-1.6.0a1.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
61
- looper-1.6.0a1.dist-info/entry_points.txt,sha256=AEL1eb0gPLYvAEUewM35Ng4scXGZIWJK4Mxdj3Hm8Fw,83
62
- looper-1.6.0a1.dist-info/top_level.txt,sha256=I0Yf7djsoQAMzwHBbDiQi9hGtq4Z41_Ma5CX8qXG8Y8,7
63
- looper-1.6.0a1.dist-info/RECORD,,
58
+ looper-1.6.0a3.dist-info/LICENSE.txt,sha256=oB6ZGDa4kcznznJKJsLLFFcOZyi8Y6e2Jv0rJozgp-I,1269
59
+ looper-1.6.0a3.dist-info/METADATA,sha256=lA597TjPwGmRcOQI1iaK-G5uYld4h5XXbX6zDQkYY5o,1740
60
+ looper-1.6.0a3.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
61
+ looper-1.6.0a3.dist-info/entry_points.txt,sha256=AEL1eb0gPLYvAEUewM35Ng4scXGZIWJK4Mxdj3Hm8Fw,83
62
+ looper-1.6.0a3.dist-info/top_level.txt,sha256=I0Yf7djsoQAMzwHBbDiQi9hGtq4Z41_Ma5CX8qXG8Y8,7
63
+ looper-1.6.0a3.dist-info/RECORD,,