Skip to content

Commit

Permalink
Merge pull request #1337 from compas-dev/remove-maps
Browse files Browse the repository at this point in the history
Remove unused mapping functions
  • Loading branch information
tomvanmele committed Apr 24, 2024
2 parents 4aff080 + 1a966c0 commit 724c40f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 153 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
* Removed `compas.scene.SceneObjectNode`, functionalities merged into `compas.scene.SceneObject`.
* Removed `compas.scene.SceneTree`, functionalities merged into `compas.scene.Scene`.
* Removed default implementation of `compas.geometry.trimesh_geodistance` since nonexistent.
* Removed `compas.utilities.geometric_key` and replaced it by `compas.tolerance.TOL.geometric_key`.
* Removed `compas.utilities.geometric_key_xy`.

## [2.1.0] 2024-03-01

Expand All @@ -49,6 +51,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
* Added `compas.datastructures.Tree.to_graph()`.

### Changed

* Changed `compas.datastructures.TreeNode` to skip serialising `attributes`, `name` and `children` if being empty.
* Changed `compas.datastructures.TreeNode.__repr__` to omit `name` if `None`.
* Fix bug in `compas_rhino.geometry.NurbsCurve.from_parameters` and `compas_rhino.geometry.NurbsCurve.from_points` related to the value of the parameter `degree`.
Expand Down
26 changes: 0 additions & 26 deletions src/compas/utilities/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,6 @@
print_profile,
)

from ..itertools import (
flatten,
reshape,
grouper,
iterable_like,
linspace,
meshgrid,
normalize_values,
pairwise,
remap_values,
window,
)
from .maps import geometric_key, geometric_key_xy, reverse_geometric_key
from .remote import download_file_from_remote
from .ssh import SSH

Expand All @@ -33,19 +20,6 @@
"abstractclassmethod",
"memoize",
"print_profile",
"normalize_values",
"remap_values",
"meshgrid",
"linspace",
"reshape",
"flatten",
"pairwise",
"window",
"iterable_like",
"grouper",
"geometric_key",
"reverse_geometric_key",
"geometric_key_xy",
"download_file_from_remote",
"SSH",
]
127 changes: 0 additions & 127 deletions src/compas/utilities/maps.py

This file was deleted.

0 comments on commit 724c40f

Please sign in to comment.