Skip to content

deprecated: Migrate changes made from srfit deprecation and change function names in pdf module#2

Merged
sbillinge merged 30 commits intodiffpy:mainfrom
cadenmyers13:migrate-changes
Mar 21, 2026
Merged

deprecated: Migrate changes made from srfit deprecation and change function names in pdf module#2
sbillinge merged 30 commits intodiffpy:mainfrom
cadenmyers13:migrate-changes

Conversation

@cadenmyers13
Copy link
Contributor

The deprecations on diffpy.srfit.fitbase are complete! No deprecation warnings are needed here because this hasnt been released. We will now redirect people using diffpy.srfit.pdf to use diffpy.cmipdf.

##### start data
#O0 rg_int sig_rg_int low_int sig_low_int rmax rhofit
#S 1 - PDF from PDFgetN
#P0 -68.04163 47.30471 0.14884 0.13136 1.50 0.1091
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Replaced this metadata from 2008 with metadata of our new format.

#
##############################################################################
"""Tests for pdf package."""

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I broke out tests into their respective files. More work needs to be done on tests here. We just need more tests tbh

@cadenmyers13
Copy link
Contributor Author

@sbillinge ready for review.

This is going to fail tests because its using srfit functions that arent released yet, but it passes locally. I will have to think about how exactly we should release this alongside srfit. I think they will have to be released simultaneously

@sbillinge sbillinge merged commit e76258d into diffpy:main Mar 21, 2026
3 of 4 checks passed
@sbillinge
Copy link
Contributor

@cadenmyers13 just let me know how you want to handle the releases. We can do them at the same time, we just have to make sure they both work.

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