Skip to content

Commit

Permalink
Merge pull request #495 from pepkit/master_1.7.1_point_release
Browse files Browse the repository at this point in the history
pin pipestat>=0.8.0,<0.9.0
  • Loading branch information
donaldcampbelljr authored May 28, 2024
2 parents 8ba8aac + 64070a6 commit 67514e4
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 15 deletions.
5 changes: 5 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) and [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) format.

## [1.7.1] -- 2024-05-28

### Fixed
- pin pipestat version to be between pipestat>=0.8.0,<0.9.0 https://github.com/pepkit/looper/issues/494

## [1.7.0] -- 2024-01-26

### Added
Expand Down
1 change: 1 addition & 0 deletions docs_jupyter/debug_divvy.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
],
"source": [
"import divvy\n",
"\n",
"divvy.setup_divvy_logger(\"DEBUG\", devmode=True)"
]
}
Expand Down
13 changes: 9 additions & 4 deletions docs_jupyter/tutorial_divvy.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
"outputs": [],
"source": [
"import divvy\n",
"dcc = divvy.ComputingConfiguration()\n"
"\n",
"dcc = divvy.ComputingConfiguration()"
]
},
{
Expand Down Expand Up @@ -116,7 +117,9 @@
}
],
"source": [
"dcc.write_script(\"test_local.sub\", {\"code\": \"run-this-command\", \"logfile\": \"logfile.txt\"})"
"dcc.write_script(\n",
" \"test_local.sub\", {\"code\": \"run-this-command\", \"logfile\": \"logfile.txt\"}\n",
")"
]
},
{
Expand Down Expand Up @@ -276,7 +279,7 @@
}
],
"source": [
"s = dcc.write_script(\"test_script.sub\", {\"code\":\"yellow\"})"
"s = dcc.write_script(\"test_script.sub\", {\"code\": \"yellow\"})"
]
},
{
Expand Down Expand Up @@ -341,7 +344,9 @@
}
],
"source": [
"s = dcc.write_script(\"test_script.sub\", [{\"code\":\"red\"}, {\"code\": \"yellow\", \"time\": \"now\"}])"
"s = dcc.write_script(\n",
" \"test_script.sub\", [{\"code\": \"red\"}, {\"code\": \"yellow\", \"time\": \"now\"}]\n",
")"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion looper/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.7.0"
__version__ = "1.7.1"
2 changes: 1 addition & 1 deletion requirements/requirements-all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ logmuse>=0.2.0
pandas>=2.0.2
pephubclient>=0.1.2
peppy>=0.40.0
pipestat>=0.8.0
pipestat>=0.8.0,<0.9.0
pyyaml>=3.12
rich>=9.10.0
ubiquerg>=0.5.2
Expand Down
18 changes: 9 additions & 9 deletions tests/smoketests/test_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,9 @@ def test_looper_single_pipeline(self, prep_temp_pep):
pifaces = config_data[SAMPLE_MODS_KEY][CONSTANT_KEY][
PIPELINE_INTERFACES_KEY
]
config_data[SAMPLE_MODS_KEY][CONSTANT_KEY][
PIPELINE_INTERFACES_KEY
] = pifaces[1]
config_data[SAMPLE_MODS_KEY][CONSTANT_KEY][PIPELINE_INTERFACES_KEY] = (
pifaces[1]
)

x = test_args_expansion(tp, "run")
try:
Expand All @@ -140,9 +140,9 @@ def test_looper_var_templates(self, prep_temp_pep):
pifaces = config_data[SAMPLE_MODS_KEY][CONSTANT_KEY][
PIPELINE_INTERFACES_KEY
]
config_data[SAMPLE_MODS_KEY][CONSTANT_KEY][
PIPELINE_INTERFACES_KEY
] = pifaces[1]
config_data[SAMPLE_MODS_KEY][CONSTANT_KEY][PIPELINE_INTERFACES_KEY] = (
pifaces[1]
)
x = test_args_expansion(tp, "run")
try:
# Test that {looper.piface_dir} is correctly rendered to a path which will show up in the final .sub file
Expand Down Expand Up @@ -211,9 +211,9 @@ def test_looper_pipeline_invalid(self, prep_temp_pep):
pifaces = config_data[SAMPLE_MODS_KEY][CONSTANT_KEY][
PIPELINE_INTERFACES_KEY
]
config_data[SAMPLE_MODS_KEY][CONSTANT_KEY][
PIPELINE_INTERFACES_KEY
] = pifaces[1]
config_data[SAMPLE_MODS_KEY][CONSTANT_KEY][PIPELINE_INTERFACES_KEY] = (
pifaces[1]
)
piface_path = os.path.join(os.path.dirname(tp), pifaces[1])
with mod_yaml_data(piface_path) as piface_data:
del piface_data["pipeline_name"]
Expand Down

0 comments on commit 67514e4

Please sign in to comment.