Skip to content

Commit

Permalink
Fix Numpy input in Google Colab. Bump to 0.4.19.
Browse files Browse the repository at this point in the history
  • Loading branch information
msoechting committed Aug 27, 2024
1 parent 5be5de4 commit 2ab3825
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion lexcube/_frontend.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@
"""

module_name = "lexcube"
module_version = "^0.4.18"
module_version = "^0.4.19"
2 changes: 1 addition & 1 deletion lexcube/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.

__version__ = "0.4.18"
__version__ = "0.4.19"
2 changes: 1 addition & 1 deletion lexcube/lexcube_server/src/lexcube_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def receive_message(widget, content, buffers):
else:
dims = ["Z", "Y", "X"]
variable_name = "default_var"
indices = { "z": range(data_source.shape[0]), "y": range(data_source.shape[1]), "x": range(data_source.shape[2]) }
indices = { "z": list(range(data_source.shape[0])), "y": list(range(data_source.shape[1])), "x": list(range(data_source.shape[2])) }

data_source_name = f"{type(data_source)}"

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lexcube",
"version": "0.4.18",
"version": "0.4.19",
"description": "Lexcube: 3D Data Cube Visualization in Jupyter Notebooks",
"keywords": [
"jupyter",
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ dependencies = [
"xarray>=v2022.12.0",
"zarr>=2.14.2",
]
version = "0.4.18"
version = "0.4.19"

[project.optional-dependencies]
docs = [
Expand Down Expand Up @@ -108,7 +108,7 @@ build_cmd = "build:prod"
github_url = "https://github.com/msoechting/lexcube/"

[tool.tbump.version]
current = "0.4.18"
current = "0.4.19"

# Example of a semver regexp.
# Make sure this matches current_version before
Expand Down
2 changes: 1 addition & 1 deletion src/lexcube-client/src/client/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,6 @@ const DEFAULT_WIDGET_HEIGHT = 768;
const API_VERSION = 5;
const TILE_VERSION = 2;

const PACKAGE_VERSION = "0.4.18";
const PACKAGE_VERSION = "0.4.19";

export { DeviceOrientation, PACKAGE_VERSION, positiveModulo, range, getIndexDimensionOfFace, getAddressedFacesOfDimension, getFacesOfIndexDimension, capitalizeString, DEFAULT_WIDGET_WIDTH, DEFAULT_WIDGET_HEIGHT, DEFAULT_COLORMAP, ANOMALY_PARAMETER_ID_SUFFIX, TILE_FORMAT_MAGIC_BYTES, TILE_VERSION, TILE_SIZE, MAX_ZOOM_FACTOR, NAN_TILE_MAGIC_NUMBER, LOSSLESS_TILE_MAGIC_NUMBER, NAN_REPLACEMENT_VALUE, COLORMAP_STEPS, NOT_LOADED_REPLACEMENT_VALUE, API_VERSION, Dimension, CubeFace }
2 changes: 1 addition & 1 deletion tbump.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# github_url = "https://github.com/<user or organization>/<project>/"

[version]
current = "0.4.18"
current = "0.4.19"

# Example of a semver regexp.
# Make sure this matches current_version before
Expand Down

0 comments on commit 2ab3825

Please sign in to comment.