Skip to content

chore/SOF-7951 Chore: use utils instead of code/utils#288

Open
VsevolodX wants to merge 6 commits into
mainfrom
chore/SOF-7951
Open

chore/SOF-7951 Chore: use utils instead of code/utils#288
VsevolodX wants to merge 6 commits into
mainfrom
chore/SOF-7951

Conversation

@VsevolodX

@VsevolodX VsevolodX commented Jul 4, 2026

Copy link
Copy Markdown
Member

code/utils changed to utils
also JS uses banker's rounding like Python -- to resolved hashes for materials correctly

@VsevolodX VsevolodX changed the title chore/SOF-7951 chore/SOF-7951 Chore: use utils instead of code/utils Jul 4, 2026
Comment thread tests/fixtures/feo-standata.json Outdated
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's use standata in tests?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok. I think I did that on other commit... Let me reapply

Comment thread src/js/basis/basis.ts Outdated
import { Cell } from "../cell/cell";
import { ATOMIC_COORD_UNITS, HASH_TOLERANCE } from "../constants";

const { math } = Utils;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Elsewhere we usually use Utils.math inside the code instead of just "math" for clarity

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I figured this would have less change -- just 2 lines, not many per file.
But I can do that if that's how we want it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants