Skip to content

Standardized and refactores cli args, added shared/split scaling to d… #62

Standardized and refactores cli args, added shared/split scaling to d…

Standardized and refactores cli args, added shared/split scaling to d… #62

Triggered via push March 11, 2026 10:52
Status Success
Total duration 8m 40s
Artifacts

ci.yml

on: push
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 5 warnings
ruff (F401): torchref/base/__init__.py#L210
torchref/base/__init__.py:210:5: F401 `.alignment.binned_correlation` imported but unused; consider removing, adding to `__all__`, or using a redundant alias help: Add unused import `binned_correlation` to __all__
ruff (F401): torchref/base/__init__.py#L189
torchref/base/__init__.py:189:49: F401 `.get_scattering_factor_torch.calc_scattering_factors_paramtetrization` imported but unused; consider removing, adding to `__all__`, or using a redundant alias help: Add unused import `calc_scattering_factors_paramtetrization_legacy` to __all__
ruff (F401): torchref/base/__init__.py#L64
torchref/base/__init__.py:64:5: F401 `.direct_summation` imported but unused; consider removing, adding to `__all__`, or using a redundant alias help: Add unused import `direct_summation` to __all__
ruff (F541): torchref/alignment/rigid_body.py#L405
torchref/alignment/rigid_body.py:405:19: F541 f-string without any placeholders help: Remove extraneous `f` prefix
ruff (F401): torchref/alignment/rigid_body.py#L30
torchref/alignment/rigid_body.py:30:31: F401 `torchref.symmetry.spacegroup` imported but unused help: Remove unused import: `torchref.symmetry.spacegroup`
ruff (F401): torchref/alignment/rigid_body.py#L22
torchref/alignment/rigid_body.py:22:30: F401 `typing.Tuple` imported but unused help: Remove unused import: `typing.Tuple`
ruff (F401): torchref/alignment/ball_transform.py#L24
torchref/alignment/ball_transform.py:24:26: F401 `typing.List` imported but unused help: Remove unused import
ruff (F401): torchref/alignment/ball_transform.py#L24
torchref/alignment/ball_transform.py:24:20: F401 `typing.Dict` imported but unused help: Remove unused import
ruff (F401): torchref/alignment/ball_transform.py#L22
torchref/alignment/ball_transform.py:22:8: F401 `math` imported but unused help: Remove unused import: `math`
ruff (F811): torchref/alignment/__init__.py#L86
torchref/alignment/__init__.py:86:9: F811 Redefinition of unused `cluster_rotation_peaks` from line 66: `cluster_rotation_peaks` redefined here torchref/alignment/__init__.py:66:9: previous definition of `cluster_rotation_peaks` here help: Remove definition: `cluster_rotation_peaks`
Lint
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-python@v5. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Test - Python 3.11
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, actions/setup-python@v5, codecov/codecov-action@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Test - Python 3.13
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, actions/setup-python@v5. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Test - Python 3.12
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, actions/setup-python@v5. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Test - Python 3.10
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, actions/setup-python@v5. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/