Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove io.LoadScan._spm_px_to_nm_scaling() #1036

Closed
ns-rse opened this issue Dec 5, 2024 · 0 comments · Fixed by #1049
Closed

Remove io.LoadScan._spm_px_to_nm_scaling() #1036

ns-rse opened this issue Dec 5, 2024 · 0 comments · Fixed by #1049

Comments

@ns-rse
Copy link
Collaborator

ns-rse commented Dec 5, 2024

See AFMReader #83 where this method needs to be part of that package so that scans are correctly loaded.

Ideally we should have tests that cover all of the pixel scaling units are correctly loaded in the TopoStats pipeline (although I would be happy to have them covered by unit tests in AFMReader which is probably where they belong).

@ns-rse ns-rse changed the title Remove io.LoadScan._spm_px_to_nm_scaling()` Remove io.LoadScan._spm_px_to_nm_scaling() Dec 5, 2024
ns-rse added a commit that referenced this issue Dec 11, 2024
Closes #1036

With the delegation of much I/O (Input/Output) functionality to @SylviaWhittle `AFMReader` (see #1031) we have removed
most of the methods to the `io.LoadScan()` class. One that slipped through was `_spm_pixel_to_nm_scaling()` and this
commit removes it along with its associated test.

Further the delegation of reading AFM files using `AFMReader` means `TopoStats` no longer has explicit dependencies on
the `igor2`, `pySPM` or `tifffile` packages and so these have been removed from the `dependencies` section of
`pyproject.toml`. These are dependencies of `AFMReader` and will still be installed in virtual environments.
ns-rse added a commit that referenced this issue Dec 11, 2024
Closes #1036

With the delegation of much I/O (Input/Output) functionality to @SylviaWhittle `AFMReader` (see #1031) we have removed
most of the methods to the `io.LoadScan()` class. One that slipped through was `_spm_pixel_to_nm_scaling()` and this
commit removes it along with its associated test.

Further the delegation of reading AFM files using `AFMReader` means `TopoStats` no longer has explicit dependencies on
the `igor2`, `pySPM` or `tifffile` packages and so these have been removed from the `dependencies` section of
`pyproject.toml`. These are dependencies of `AFMReader` and will still be installed in virtual environments.
ns-rse added a commit that referenced this issue Dec 11, 2024
Closes #1036

With the delegation of much I/O (Input/Output) functionality to @SylviaWhittle `AFMReader` (see #1031) we have removed
most of the methods to the `io.LoadScan()` class. One that slipped through was `_spm_pixel_to_nm_scaling()` and this
commit removes it along with its associated test.

Further the delegation of reading AFM files using `AFMReader` means `TopoStats` no longer has explicit dependencies on
the `igor2`, `pySPM` or `tifffile` packages and so these have been removed from the `dependencies` section of
`pyproject.toml`. These are dependencies of `AFMReader` and will still be installed in virtual environments.

Moved `pytest-testmon` from `tests` to `dev` under optional dependencies as its not used when running the test suite,
only when making commits locally.
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 a pull request may close this issue.

1 participant