Skip to content

Commit

Permalink
0.3.11 (#139)
Browse files Browse the repository at this point in the history
* 🩹 Fix pandas warning when less-column data passed to channel

* 🔖 0.3.11
  • Loading branch information
pwwang authored Feb 1, 2023
1 parent 7a7b980 commit 96b2c23
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
5 changes: 5 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Change Log

## 0.3.11

- 📝 Fix github workflow badges in README
- 🩹 Fix pandas warning when less-column data passed to channel

## 0.3.10

- ⬆️ Upgrade xqute to 0.1.3
Expand Down
5 changes: 3 additions & 2 deletions pipen/proc.py
Original file line number Diff line number Diff line change
Expand Up @@ -610,11 +610,12 @@ def _compute_input(self) -> Mapping[str, Mapping[str, Any]]:
self.log(
"warning",
"No data column for input: %s, using None.",
needed_cols[-len_rest_cols:],
needed_cols[len_rest_cols:],
)
# Add None
# Use loop to keep order
for needed_col in needed_cols[len_rest_cols:]:
out.data[needed_col] = None
out.data.insert(out.data.shape[1], needed_col, None)
len_needed_cols = len_rest_cols

out.data = out.data.rename(
Expand Down
2 changes: 1 addition & 1 deletion pipen/version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""Provide version of pipen"""

__version__ = "0.3.10"
__version__ = "0.3.11"
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "poetry.masonry.api"

[tool.poetry]
name = "pipen"
version = "0.3.10"
version = "0.3.11"
description = "A pipeline framework for python"
authors = [ "pwwang <[email protected]>",]
license = "MIT"
Expand Down

0 comments on commit 96b2c23

Please sign in to comment.