Skip to content

Commit

Permalink
Merge 41817a9 into 7532af0
Browse files Browse the repository at this point in the history
  • Loading branch information
andreacosolo committed Oct 25, 2022
2 parents 7532af0 + 41817a9 commit 044eaab
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,6 @@ Custom_scripts/
Data_Files/MicroscopyCalibration/Files/
.pytest_cache/
.python-version

# PyCharm metadata
.idea/
5 changes: 5 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ Submit4DN
Change Log
----------

3.1.1
=====

* Bug fix: some "empty" cells were not handled correctly.

3.1.0
=====

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "Submit4DN"
version = "3.1.0"
version = "3.1.1"
description = "Utility package for submitting data to the 4DN Data Portal"
authors = ["4DN-DCIC Team <support@4dnucleome.org>"]
license = "MIT"
Expand Down
2 changes: 2 additions & 0 deletions wranglertools/import_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,8 @@ def cell_value(cell):
value = cell.value
if ctype == openpyxl.cell.cell.TYPE_ERROR: # pragma: no cover
raise ValueError('Cell %s contains a cell error' % str(cell.coordinate))
elif value is None:
return ''
elif ctype == openpyxl.cell.cell.TYPE_BOOL:
boolstr = str(value).strip()
if boolstr == 'TRUE':
Expand Down

0 comments on commit 044eaab

Please sign in to comment.