looper 2.0.1__py3-none-any.whl → 2.0.3__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.1"
1
+ __version__ = "2.0.3"
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.1",
343
+ version="2.0.3",
344
344
  )
345
345
 
346
346
  parser = add_short_arguments(parser, ArgumentEnum)
looper/conductor.py CHANGED
@@ -662,6 +662,7 @@ class SubmissionConductor(object):
662
662
  "config_file": psm.config_path,
663
663
  "output_schema": psm.cfg["_schema_path"],
664
664
  "pephub_path": psm.cfg["pephub_path"],
665
+ "flag_file_dir": psm.cfg["_config"].data.get("flag_file_dir"),
665
666
  }
666
667
  filtered_namespace = {k: v for k, v in full_namespace.items() if v}
667
668
  return YAMLConfigManager(filtered_namespace)
looper/project.py CHANGED
@@ -553,6 +553,17 @@ class Project(peppyProject):
553
553
  except KeyError:
554
554
  flag_file_dir = None
555
555
 
556
+ try:
557
+ pephub_path = expandpath(pipestat_config_dict["pephub_path"])
558
+ if is_pephub_registry_path(pephub_path):
559
+ pipestat_config_dict.update({"pephub_path": pephub_path})
560
+ else:
561
+ _LOGGER.warning(
562
+ msg=f"Warning: PEPhub path provided is NOT a PEPhub registry {pephub_path}"
563
+ )
564
+ except KeyError:
565
+ pephub_path = None
566
+
556
567
  # Pipestat_dict_ is now updated from all sources and can be written to a yaml.
557
568
  pipestat_config_path = os.path.join(
558
569
  output_dir,
@@ -889,11 +900,10 @@ def fetch_samples(
889
900
 
890
901
 
891
902
  def make_set(items):
892
- try:
893
- # Check if user input single integer value for inclusion/exclusion criteria
894
- if len(items) == 1:
895
- items = list(map(str, items)) # list(int(items[0]))
896
- except:
897
- if isinstance(items, str):
898
- items = [items]
903
+ if isinstance(items, str):
904
+ items = [items]
905
+ elif len(items) == 1:
906
+ items = list(map(str, items)) # list(int(items[0]))
907
+ else:
908
+ pass
899
909
  return items
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: looper
3
- Version: 2.0.1
3
+ Version: 2.0.3
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
@@ -36,6 +36,7 @@ Dynamic: description-content-type
36
36
  Dynamic: home-page
37
37
  Dynamic: keywords
38
38
  Dynamic: license
39
+ Dynamic: license-file
39
40
  Dynamic: requires-dist
40
41
  Dynamic: summary
41
42
 
@@ -1,9 +1,9 @@
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=DW9L8zOJPcNY9ZbgS_iQmVE_rIc1YpAHFt8cZRRXFZU,119
3
+ looper/_version.py,sha256=Te42CMj8Eo19N4meF9piQ1i5pXJrVS5ew4-34m1pIRQ,119
4
4
  looper/cli_divvy.py,sha256=_VGbOFLkXtKdkZA6omlzgXbXkuUM5aLQ50aTTtbTrVI,5975
5
- looper/cli_pydantic.py,sha256=KS26gh_vF9fxjVpuBbI1K4sgokT1PWme4klwwcphLWQ,14423
6
- looper/conductor.py,sha256=EvVSZ9czG8-cRDLl2aXHZPeQ02J4xM0T_Y6mYO_2jTQ,35131
5
+ looper/cli_pydantic.py,sha256=lyMG_B0f_9hLKy0nhpYiKn38zUAxAtw5WFMuf2xiHLQ,14423
6
+ looper/conductor.py,sha256=aCbXhUrWq5q5wnaKWpBslQyRvFXADTvvoH1zvRjkudY,35210
7
7
  looper/const.py,sha256=eClmwc0c1r7zjQKrqBPa_OUOnoCqNNe0e64xElvLQHA,8701
8
8
  looper/divvy.py,sha256=KQSIxgeiFJf73c7xpAV8CoxUIuXjcfMphNWKSZXmuP0,15858
9
9
  looper/exceptions.py,sha256=-VEExHqjAtOSacBx45DA_9c-2i4EqxqGRLttTKxXXgg,3570
@@ -12,7 +12,7 @@ looper/parser_types.py,sha256=PgAdrtCGvXhXcX7UbW8E3oC414uv1mKV4sTnXVHtIzE,2325
12
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=uoh8zGP4pdo630pcxLW5hdB5a2cP-YK8-CFd6F26Yus,34337
15
+ looper/project.py,sha256=cV8MOyB7aLUiHRqecgnc058Z2Ov7ZqjhheZoiZ5yMRE,34677
16
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
@@ -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.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,,
63
+ looper-2.0.3.dist-info/licenses/LICENSE.txt,sha256=oB6ZGDa4kcznznJKJsLLFFcOZyi8Y6e2Jv0rJozgp-I,1269
64
+ looper-2.0.3.dist-info/METADATA,sha256=21sNJtgpJtyVxV14yobD3ty65o-ZUpSyEg8hHUL_x3w,1965
65
+ looper-2.0.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
66
+ looper-2.0.3.dist-info/entry_points.txt,sha256=iHltI2_Jdved27vccmWhvmcHWUZ7Mf6CfDV6QkY1Lc8,91
67
+ looper-2.0.3.dist-info/top_level.txt,sha256=I0Yf7djsoQAMzwHBbDiQi9hGtq4Z41_Ma5CX8qXG8Y8,7
68
+ looper-2.0.3.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.8.2)
2
+ Generator: setuptools (80.9.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5