Skip to content

Commit

Permalink
bump version to-> < 0.27.5 >
Browse files Browse the repository at this point in the history
  • Loading branch information
yellowbean committed Apr 21, 2024
1 parent c052c60 commit 672f95a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions absbox/local/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -328,10 +328,10 @@ def _read_cf(x, lang):
flow_header, idx, expandFlag = guess_pool_flow_header(x[0], lang)
result = None
try:
if not expandFlag:
result = pd.DataFrame([_['contents'] for _ in x], columns=flow_header)
if expandFlag:
result = pd.DataFrame([_['contents'][:-1]+mapNone(_['contents'][-1],[0,0,0,0,0,0]) for _ in x], columns=flow_header)
else:
result = pd.DataFrame([_['contents'][:-1]+_['contents'][-1] for _ in x], columns=flow_header)
result = pd.DataFrame([_['contents'] for _ in x], columns=flow_header)
except ValueError as e:
print(e)
logging.error(f"Failed to match header:{flow_header} with {result}")
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = absbox
version = 0.27.23
version = 0.27.5
description_file = README.md
author = xiaoyu, zhang
author_email = [email protected]
Expand Down

0 comments on commit 672f95a

Please sign in to comment.