Skip to content

Add default CIF list to GSAS II tab in EngDiffUI#41709

Draft
andy-bridger wants to merge 5 commits into
mainfrom
add-cif-defaults-to-eng-diff
Draft

Add default CIF list to GSAS II tab in EngDiffUI#41709
andy-bridger wants to merge 5 commits into
mainfrom
add-cif-defaults-to-eng-diff

Conversation

@andy-bridger

Copy link
Copy Markdown
Collaborator

Description of work

A collection of cif files are pre-packaged within the engineering code, but it is a bit onerous to go and find them. This PR adds a drop down menu to the GSAS-II tab to provide quick access to these files along with a Custom option at the end of the list which recovers the previous behaviour of supplying file paths.

I also had to tweak the UI to try and make it a bit easier to visually parse after the new combo box was added (the finder widget widths have a mind of their own, but I think they should be the same width on linux for both the new one and old one)

Old:

image

New:

EngDiff_GSASII

Closes #41654

To test:

Try running GSAS-II instructions on Ada and check expected behaviour

(I will make a mantid-test build on conda once the CI passes)


Reviewer

Your comments will be used as part of the gatekeeper process. Comment clearly on what you have checked and tested during your review. Provide an audit trail for any changes requested.

As per the review guidelines:

  • Is the code of an acceptable quality? (Code standards/GUI standards)
  • Has a thorough functional test been performed? Do the changes handle unexpected input/situations?
  • Are appropriately scoped unit and/or system tests provided?
  • Do the release notes conform to the guidelines and describe the changes appropriately?
  • Has the relevant (user and developer) documentation been added/updated?
  • If the PR author isn’t in the mantid-developers or mantid-contributors teams, add a review comment rerun ci to authorize/rerun the CI

Gatekeeper

As per the gatekeeping guidelines:

  • Has a thorough first line review been conducted, including functional testing?
  • At a high-level, is the code quality sufficient?
  • Are the base, milestone and labels correct?

@github-actions github-actions Bot added this to the Release 6.17 milestone Jun 19, 2026
@github-actions github-actions Bot added the Has Conflicts Used by the bot to label pull requests that have conflicts label Jul 1, 2026
@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

👋 Hi, @andy-bridger,

Conflicts have been detected against the base branch. Please rebase your branch against the base branch.

# Conflicts:
#	qt/python/mantidqtinterfaces/mantidqtinterfaces/Engineering/gui/engineering_diffraction/tabs/gsas2/model.py
#	qt/python/mantidqtinterfaces/mantidqtinterfaces/Engineering/gui/engineering_diffraction/tabs/gsas2/presenter.py
#	qt/python/mantidqtinterfaces/mantidqtinterfaces/Engineering/gui/engineering_diffraction/tabs/gsas2/view.py
@andy-bridger
andy-bridger force-pushed the add-cif-defaults-to-eng-diff branch from cbbc820 to e534fde Compare July 8, 2026 11:31
@github-actions github-actions Bot removed the Has Conflicts Used by the bot to label pull requests that have conflicts label Jul 8, 2026
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.

Eng Diff UI: Simplify CIF file choosing

1 participant