@mat3ra/made 2026.10.10-0 → 2026.11.2-0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -287,12 +287,11 @@ class Basis extends entity_1.InMemoryEntity {
287
287
  */
288
288
  getAsSortedString() {
289
289
  const clsInstance = this.clone();
290
- clsInstance.toStandardRepresentation();
291
290
  const standardRep = clsInstance.elementsAndCoordinatesAndLabelsArray.map((entry) => {
292
291
  const element = entry[0];
293
292
  const coordinate = entry[1];
294
293
  const atomicLabel = entry[2];
295
- const toleratedCoordinate = coordinate.map((x) => utils_1.Utils.math.roundCustom(x, constants_1.HASH_TOLERANCE));
294
+ const toleratedCoordinate = coordinate.map((x) => utils_1.Utils.math.mod(utils_1.Utils.math.roundCustom(utils_1.Utils.math.mod(x, 0), constants_1.HASH_TOLERANCE), 0));
296
295
  return `${element}${atomicLabel} ${toleratedCoordinate.join()}`;
297
296
  });
298
297
  return `${standardRep.sort().join(";")};`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mat3ra/made",
3
- "version": "2026.10.10-0",
3
+ "version": "2026.11.2-0",
4
4
  "description": "MAterials DEsign library",
5
5
  "scripts": {
6
6
  "lint": "eslint --cache src/js tests/js && prettier --write src/js tests/js",