looper 1.6.0a1__tar.gz → 1.6.0a3__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
Files changed (77) hide show
  1. {looper-1.6.0a1/looper.egg-info → looper-1.6.0a3}/PKG-INFO +2 -2
  2. looper-1.6.0a3/looper/_version.py +1 -0
  3. {looper-1.6.0a1 → looper-1.6.0a3}/looper/cli_looper.py +6 -0
  4. {looper-1.6.0a1 → looper-1.6.0a3}/looper/project.py +3 -5
  5. {looper-1.6.0a1 → looper-1.6.0a3/looper.egg-info}/PKG-INFO +2 -2
  6. {looper-1.6.0a1 → looper-1.6.0a3}/looper.egg-info/requires.txt +1 -1
  7. {looper-1.6.0a1 → looper-1.6.0a3}/requirements/requirements-all.txt +1 -1
  8. looper-1.6.0a1/looper/_version.py +0 -1
  9. {looper-1.6.0a1 → looper-1.6.0a3}/LICENSE.txt +0 -0
  10. {looper-1.6.0a1 → looper-1.6.0a3}/MANIFEST.in +0 -0
  11. {looper-1.6.0a1 → looper-1.6.0a3}/README.md +0 -0
  12. {looper-1.6.0a1 → looper-1.6.0a3}/logo_looper.svg +0 -0
  13. {looper-1.6.0a1 → looper-1.6.0a3}/looper/__init__.py +0 -0
  14. {looper-1.6.0a1 → looper-1.6.0a3}/looper/__main__.py +0 -0
  15. {looper-1.6.0a1 → looper-1.6.0a3}/looper/cli_divvy.py +0 -0
  16. {looper-1.6.0a1 → looper-1.6.0a3}/looper/conductor.py +0 -0
  17. {looper-1.6.0a1 → looper-1.6.0a3}/looper/const.py +0 -0
  18. {looper-1.6.0a1 → looper-1.6.0a3}/looper/default_config/divvy_config.yaml +0 -0
  19. {looper-1.6.0a1 → looper-1.6.0a3}/looper/default_config/divvy_templates/localhost_bulker_template.sub +0 -0
  20. {looper-1.6.0a1 → looper-1.6.0a3}/looper/default_config/divvy_templates/localhost_docker_template.sub +0 -0
  21. {looper-1.6.0a1 → looper-1.6.0a3}/looper/default_config/divvy_templates/localhost_singularity_template.sub +0 -0
  22. {looper-1.6.0a1 → looper-1.6.0a3}/looper/default_config/divvy_templates/localhost_template.sub +0 -0
  23. {looper-1.6.0a1 → looper-1.6.0a3}/looper/default_config/divvy_templates/lsf_template.sub +0 -0
  24. {looper-1.6.0a1 → looper-1.6.0a3}/looper/default_config/divvy_templates/sge_template.sub +0 -0
  25. {looper-1.6.0a1 → looper-1.6.0a3}/looper/default_config/divvy_templates/slurm_singularity_template.sub +0 -0
  26. {looper-1.6.0a1 → looper-1.6.0a3}/looper/default_config/divvy_templates/slurm_template.sub +0 -0
  27. {looper-1.6.0a1 → looper-1.6.0a3}/looper/divvy.py +0 -0
  28. {looper-1.6.0a1 → looper-1.6.0a3}/looper/exceptions.py +0 -0
  29. {looper-1.6.0a1 → looper-1.6.0a3}/looper/jinja_templates/footer.html +0 -0
  30. {looper-1.6.0a1 → looper-1.6.0a3}/looper/jinja_templates/footer_index.html +0 -0
  31. {looper-1.6.0a1 → looper-1.6.0a3}/looper/jinja_templates/head.html +0 -0
  32. {looper-1.6.0a1 → looper-1.6.0a3}/looper/jinja_templates/index.html +0 -0
  33. {looper-1.6.0a1 → looper-1.6.0a3}/looper/jinja_templates/logo.html +0 -0
  34. {looper-1.6.0a1 → looper-1.6.0a3}/looper/jinja_templates/navbar.html +0 -0
  35. {looper-1.6.0a1 → looper-1.6.0a3}/looper/jinja_templates/navbar_links.html +0 -0
  36. {looper-1.6.0a1 → looper-1.6.0a3}/looper/jinja_templates/navbar_list_parent.html +0 -0
  37. {looper-1.6.0a1 → looper-1.6.0a3}/looper/jinja_templates/object.html +0 -0
  38. {looper-1.6.0a1 → looper-1.6.0a3}/looper/jinja_templates/project_object.html +0 -0
  39. {looper-1.6.0a1 → looper-1.6.0a3}/looper/jinja_templates/sample.html +0 -0
  40. {looper-1.6.0a1 → looper-1.6.0a3}/looper/jinja_templates/status.html +0 -0
  41. {looper-1.6.0a1 → looper-1.6.0a3}/looper/jinja_templates/status_table.html +0 -0
  42. {looper-1.6.0a1 → looper-1.6.0a3}/looper/jinja_templates/status_table_no_links.html +0 -0
  43. {looper-1.6.0a1 → looper-1.6.0a3}/looper/jinja_templates_old/footer.html +0 -0
  44. {looper-1.6.0a1 → looper-1.6.0a3}/looper/jinja_templates_old/footer_index.html +0 -0
  45. {looper-1.6.0a1 → looper-1.6.0a3}/looper/jinja_templates_old/head.html +0 -0
  46. {looper-1.6.0a1 → looper-1.6.0a3}/looper/jinja_templates_old/index.html +0 -0
  47. {looper-1.6.0a1 → looper-1.6.0a3}/looper/jinja_templates_old/logo.html +0 -0
  48. {looper-1.6.0a1 → looper-1.6.0a3}/looper/jinja_templates_old/navbar.html +0 -0
  49. {looper-1.6.0a1 → looper-1.6.0a3}/looper/jinja_templates_old/navbar_links.html +0 -0
  50. {looper-1.6.0a1 → looper-1.6.0a3}/looper/jinja_templates_old/navbar_list_parent.html +0 -0
  51. {looper-1.6.0a1 → looper-1.6.0a3}/looper/jinja_templates_old/object.html +0 -0
  52. {looper-1.6.0a1 → looper-1.6.0a3}/looper/jinja_templates_old/project_object.html +0 -0
  53. {looper-1.6.0a1 → looper-1.6.0a3}/looper/jinja_templates_old/sample.html +0 -0
  54. {looper-1.6.0a1 → looper-1.6.0a3}/looper/jinja_templates_old/status.html +0 -0
  55. {looper-1.6.0a1 → looper-1.6.0a3}/looper/jinja_templates_old/status_table.html +0 -0
  56. {looper-1.6.0a1 → looper-1.6.0a3}/looper/jinja_templates_old/status_table_no_links.html +0 -0
  57. {looper-1.6.0a1 → looper-1.6.0a3}/looper/looper.py +0 -0
  58. {looper-1.6.0a1 → looper-1.6.0a3}/looper/parser_types.py +0 -0
  59. {looper-1.6.0a1 → looper-1.6.0a3}/looper/pipeline_interface.py +0 -0
  60. {looper-1.6.0a1 → looper-1.6.0a3}/looper/plugins.py +0 -0
  61. {looper-1.6.0a1 → looper-1.6.0a3}/looper/processed_project.py +0 -0
  62. {looper-1.6.0a1 → looper-1.6.0a3}/looper/schemas/divvy_config_schema.yaml +0 -0
  63. {looper-1.6.0a1 → looper-1.6.0a3}/looper/schemas/pipeline_interface_schema_generic.yaml +0 -0
  64. {looper-1.6.0a1 → looper-1.6.0a3}/looper/schemas/pipeline_interface_schema_project.yaml +0 -0
  65. {looper-1.6.0a1 → looper-1.6.0a3}/looper/schemas/pipeline_interface_schema_sample.yaml +0 -0
  66. {looper-1.6.0a1 → looper-1.6.0a3}/looper/utils.py +0 -0
  67. {looper-1.6.0a1 → looper-1.6.0a3}/looper.egg-info/SOURCES.txt +0 -0
  68. {looper-1.6.0a1 → looper-1.6.0a3}/looper.egg-info/dependency_links.txt +0 -0
  69. {looper-1.6.0a1 → looper-1.6.0a3}/looper.egg-info/entry_points.txt +0 -0
  70. {looper-1.6.0a1 → looper-1.6.0a3}/looper.egg-info/top_level.txt +0 -0
  71. {looper-1.6.0a1 → looper-1.6.0a3}/requirements/requirements-doc.txt +0 -0
  72. {looper-1.6.0a1 → looper-1.6.0a3}/requirements/requirements-test.txt +0 -0
  73. {looper-1.6.0a1 → looper-1.6.0a3}/setup.cfg +0 -0
  74. {looper-1.6.0a1 → looper-1.6.0a3}/setup.py +0 -0
  75. {looper-1.6.0a1 → looper-1.6.0a3}/tests/test_clean.py +0 -0
  76. {looper-1.6.0a1 → looper-1.6.0a3}/tests/test_desired_sample_range.py +0 -0
  77. {looper-1.6.0a1 → looper-1.6.0a3}/tests/test_natural_range.py +0 -0
@@ -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
@@ -0,0 +1 @@
1
+ __version__ = "1.6.0a3"
@@ -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
 
@@ -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
@@ -6,7 +6,7 @@ logmuse>=0.2.0
6
6
  pandas>=2.0.2
7
7
  pephubclient>=0.1.2
8
8
  peppy>=0.40.0.a4
9
- pipestat>=v0.6.0a9
9
+ pipestat>=0.6.0a9
10
10
  pyyaml>=3.12
11
11
  rich>=9.10.0
12
12
  ubiquerg>=0.5.2
@@ -6,7 +6,7 @@ logmuse>=0.2.0
6
6
  pandas>=2.0.2
7
7
  pephubclient>=0.1.2
8
8
  peppy>=0.40.0.a4
9
- pipestat>=v0.6.0a9
9
+ pipestat>=0.6.0a9
10
10
  pyyaml>=3.12
11
11
  rich>=9.10.0
12
12
  ubiquerg>=0.5.2
@@ -1 +0,0 @@
1
- __version__ = "1.6.0a1"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes