Skip to content

Conversation

@stevenhua0320
Copy link
Contributor

@stevenhua0320 stevenhua0320 commented Oct 6, 2025

@zmx27 Ready for review
Left to do: after PR #22 merged, add imageplot.py into migration if anything changed
Update: No more change to imageplot.py after #22, no need to add the file again.

Copy link
Collaborator

@zmx27 zmx27 left a comment

Choose a reason for hiding this comment

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

See comments, otherwise it looks good to me

Also, there's not really a lot of tests for this package currently, but it might be a good sanity check to run pytest anyway

# dpx.pdfgetxgui by Simon J. L. Billinge group
# (c) 2012 Trustees of the Columbia University
# in the City of New York. All rights reserved.
# (c) 2025 The Trustees of Columbia University in the City of New York.
Copy link
Collaborator

Choose a reason for hiding this comment

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

This should be 2012-2025. In general, it will go from the old date to the current date.

# All rights reserved.
#
# File coded by: Xiaohao Yang
# File coded by: Billinge Group members and community contributors.
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think just Billinge Group members, but add back Xiaohao Yang. So something like Xiaohao Yang and Billinge Group members

# dpx.pdfgetxgui by Simon J. L. Billinge group
# (c) 2012 Trustees of the Columbia University
# in the City of New York. All rights reserved.
# (c) 2025 The Trustees of Columbia University in the City of New York.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Same here

# All rights reserved.
#
# File coded by: Xiaohao Yang
# File coded by: Rundong Hua, Simon Billinge, Billinge Group members.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Same here

# All rights reserved.
#
# File coded by: Xiaohao Yang
# File coded by: Rundong Hua, Simon Billinge, Billinge Group members.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Same here

# Simon J. L. Billinge
# (c) 2010 Trustees of the Columbia University
# in the City of New York. All rights reserved.
# (c) 2025 The Trustees of Columbia University in the City of New York.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Same here

@stevenhua0320
Copy link
Contributor Author

@zmx27 Ready for review

# All rights reserved.
#
# File coded by: Xiaohao Yang
# File coded by: Xiaohao Yang, Simon Billinge, Billinge Group members.
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think just Xiaohao Yang and Billinge Group members. Same for the other places where this shows up

Copy link
Collaborator

Choose a reason for hiding this comment

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

Otherwise, this looks good. Also, did you run pytest yet? Maybe paste the results in this PR. It's not going to test much, but I still think it's a good sanity check to make sure that everything passes

@stevenhua0320
Copy link
Contributor Author

The pytest is here, run correctly.
pytest ===================================================================== test session starts ====================================================================== platform darwin -- Python 3.13.7, pytest-8.4.2, pluggy-1.6.0 rootdir: /Users/huarundong/dbs/diffpy.srxplanargui/diffpy.srxplanargui configfile: pyproject.toml plugins: env-1.1.5, cov-7.0.0 collected 1 item tests/test_version.py . [100%] ====================================================================== 1 passed in 0.02s =======================================================================

@stevenhua0320 stevenhua0320 changed the title skpkg: migrate src folder except imageplot.py, migrate test folder skpkg: migrate src folder, migrate test folder Oct 7, 2025
@sbillinge sbillinge merged commit f94a158 into diffpy:migration Oct 7, 2025
1 check failed
@sbillinge sbillinge deleted the setup-CI-3 branch October 7, 2025 23:51
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.

3 participants