Skip to content

Xfel gui project management#1

Open
dwpaley wants to merge 13 commits intomasterfrom
xfel_gui_project_management
Open

Xfel gui project management#1
dwpaley wants to merge 13 commits intomasterfrom
xfel_gui_project_management

Conversation

@dwpaley
Copy link
Copy Markdown
Owner

@dwpaley dwpaley commented Mar 23, 2026

experimental PR 1: accumulated changes from NERSC

phyy-nx and others added 13 commits March 20, 2026 20:04
- Hide the phil blob
- Add first two controls, uc and sg
- Add sync code between phil str and controls
- Add Edit Phil dialog
Includes more validation as well, such as the unit cell being compatible
with the space group
- Remove extra ok/cancel
- Add min spots for hitfinding
- Fix rounding in unit cell and roundtripping of phil using working phil
Co-authored-by: Aaron Brewster <asbrewster@lbl.gov>
…sses

When the GUI is launched with a custom settings file, command-line tools
run afterward now correctly use the same settings file. The GUI launcher
sets CCTBX_XFEL_SETTINGS environment variable, which inherits to child
processes. Both load_cached_settings() and save_cached_settings() check
this environment variable first, falling back to the default behavior
if not set.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Users set CCTBX_XFEL_SETTINGS environment variable directly to specify
a custom settings file. All tools (GUI and command-line) read this
environment variable. Removed command-line argument parsing for settings
files to keep the implementation simple with a single mode of operation.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Add drive.lock_file phil parameter to allow users to specify a lock file
location when the home directory is not writable (e.g., on compute nodes).

Changes:
- Add drive.lock_file phil parameter (default None)
- Modify Locker class to accept configurable path
- Pass lock_file through pydrive2_interface to Locker
- Default behavior unchanged (uses ~/.upload_mtz.lock when None)

This fixes issues on systems where home directories are not writable from
compute nodes, allowing users to specify an alternative writable location.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
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