What’s New in Revision 0.9.2
These are the changes in SpectroChemPy-0.9.2. See Release notes for a full changelog, including other versions of SpectroChemPy.
Bug Fixes
Implemented
decode_datetime64for CF-style datetime metadata generated byencode_datetime64.
Breaking Changes
Removed deprecated compatibility kwargs in
EFA,PCA, andNMF:used_components(usen_components).Removed deprecated compatibility kwargs in
SIMPLISMA:verbose(uselog_level),n_pc(usen_components),max_components(usen_components).Removed deprecated compatibility kwargs in
detrend:type(useorder),dim(no longer needed),inplace(no longer supported).Removed deprecated
parametersmethod (useparamsinstead).Removed deprecated
n_pcfallback intransformandinverse_transform(usen_componentsinstead).
Deprecations
Removed
IRIS.plotdistribution()from thespectrochempy-irisplugin (targetremoved="0.9.0"was reached). UseIRIS.f[index].plot()instead.Added explicit
removed="0.10.0to all remaining API deprecations that did not yet specify a removal version :Baseline.show_regions,PCA.screeplot,PCA.scoreplot,DecompositionAnalysis.reduce,DecompositionAnalysis.reconstruct,MCRALS.St_unconstrained,MCRALS.S_soft,concatenate(force_stack=...),read_jdx,read_dx,trapz,multiplot_stack,multiplot_map,multiplot_image,Project.remove_all_dataset,Project.remove_all_project,Project.remove_all_script,restore_rcparams,get_import_time_rcparams, and legacy plot-method aliases(
stack→lines,map→contour,image→contourf).
Developer
FEATURE: Added plugin lifecycle tests for
spectrochempy-hypercomplex,spectrochempy-carroucell,spectrochempy-nmr, andspectrochempy-iriscovering import, metadata, compatibility, registration, lifecycle state, reader/accessor registration, and isolated harness behaviour.FIX: Added
_ensure_carroucell_filetype_registered()to register thecarroucellfiletype with the legacyFileTypeRegistry, fixingTypeError: Filetype '.carroucell' is unknownwhen reading CarrouCELL data.FIX: Fixed test isolation in
spectrochempy-iristests: monkeypatchedsys.modulescleanup ensures each test uses its own harness when validating thescp.irisnamespace.FIX: Fixed missing
import sysindocutilsthat causedNameErrorwhen validating docstrings withExamplessections (the root cause of “docstring checker unstable in CI” skips).FIX: Fixed docstring examples in
plot_scoreandplot_scree.FIX: Fixed docstring examples in
reshape.FIX: Fixed
See Alsoentries inplot.FIX: Resolved
%(analysis_fit.parameters.X)sdocrep template leftovers infit.FIX: Reactivated 4 docstring validation tests for
PLSRegression,PCA,NDDataset, andIRISthat had been disabled as “unstable in CI”.MAINT: Removed stale commented-out
@pytest.mark.skipifblocks from 5 reader test files.FIX: Reworked network resilience in
test_py_in_docs.py: scripts and examples requiring external network access (eigenvector.com) are now executed normally and only skipped when the failure is confirmed to be network-related.MAINT: Tightened isolated test debt: converted broad 3D plotting skips to waterfall-specific
xfailhandling and clarified remaining quarantined tests.FIX: Reactivated the project comparison utility test by using independent deep copies of nested projects.
DOC: Restructured changelog to separate user-facing entries from developer changes (tests, CI, refactoring) with keyword prefixes (FEATURE:, FIX:, MAINT:, CI:, DEV:) in a new
Developersection at the end.DOC: Updated contributing guide and PR template to document the new changelog convention and the
Developersection.CI: Replaced hardcoded
0.9.0stable docs build with a dynamic loop over allspectrochempy-v*core tags, so new releases (e.g.0.9.1) are automatically included in the version dropdown.