aboutsummaryrefslogtreecommitdiff
path: root/src/gui_project.c
AgeCommit message (Collapse)Author
2023-05-05Move peak search parameters into separate structureThomas White
This change takes the peak parameters structure from gui_project.h, moves it to libcrystfel/peaks.h and uses it everywhere. It should slightly reduce the hassle involved with adding a new parameter. Four parameters (noisefilter, median_filter, check_hdf5_snr, use_saturated) were previously not part of the GUI project structure. Now they are, via the new structure. However, they are not yet exposed via the GUI and just take their default values.
2022-11-24GUI: Colour scale, part 3: Use the values in CrystFELImageViewThomas White
2022-08-23GUI: Add resolution ringsThomas White
It will refuse to draw the rings if the detector is too far from being flat (as judged by detgeom_mean_camera_length). Otherwise, the drawing is exactly the same as was done by hdfsee.
2022-03-18GUI: Use sbatch/scancel/scontrol instead of Slurm APIThomas White
This commit strips out all references to the Slurm API, instead making subprocess calls to sbatch and scontrol. Attempting to use the Slurm API seems to have been a mis-step. First, it seems that nowhere has the Slurm headers pre-installed. Literally none of the facilities where there are known deployments of CrystFEL have them. And in a significant fraction of cases, getting them installed is difficult, slow or impossible. In addition, the API doesn't seem to work in all cases, so we already shell out to 'scancel' to abort jobs - see d76fc3495. There are some tricky implications for submitting Slurm jobs from a container via the API. The Slurm REST API offers a solution, but is very new and not widely available. Calls to the Slurm executables are much easier to 'tunnel' out of a container. This isn't a great solution. It's a net increase of only about 40 lines of source code, but it incurs some unpleasant string handling and will probably be less reliable overall. It completely relies on Slurm's not being internationalised. If Slurm's messages start getting translated, we will be in trouble.
2022-03-04GUI: Fix stream rescan logicThomas White
Fixes: https://gitlab.desy.de/thomas.white/crystfel/-/issues/64
2021-12-02GUI: Add a checkbox for automatically rescanning streamsThomas White
Usually, one will want this option enabled. However, sometimes it speeds things up a lot to disable it. Fixes: https://gitlab.desy.de/thomas.white/crystfel/-/issues/54
2021-11-26GUI: Don't store stream filename in projectThomas White
There's already some confusion between "loading a stream into the GUI" and "adding a stream as a result". This should help resolve it, as well as simplifying multi-stream results (coming up).
2021-10-20GUI: Track the indexing result from which each merge result cameThomas White
2021-09-07add_stream: Fix data type for malloc sizeThomas White
2021-07-23GUI: Expose partialator --no-logsThomas White
2021-07-22Clean up shadowed variablesThomas White
2021-07-21Reduce variable scope where possibleThomas White
2021-07-21Add missing cleanup on error pathsThomas White
2021-07-15GUI: Remove extra layer of relative pathsThomas White
Not needed any more.
2021-07-14GUI: Add PinkIndexer options to 'struct index_params'Thomas White
2021-06-23GUI: Avoid writing '(null)' to project fileThomas White
The problem is, '(null)' is not NULL.
2021-05-28GUI: Store relative paths of resultsThomas White
This allows project folders to be relocated more easily. At the same time, I fixed the weird ownership semantics of add_indexing_result and add_merge_result. Fixes: https://gitlab.desy.de/thomas.white/crystfel/-/issues/31
2021-05-17GUI: Improve error handling for default_projectThomas White
2021-05-11GUI: Fix loading of merging parameters from project fileThomas White
Apparently, I can't count.
2021-05-11GUI: Ensure that streams get re-scanned after job terminationThomas White
Previously, they would not get scanned because no job was running. We need one more scan after a job exits to make sure everything is up to date.
2021-05-07GUI: Add missing initialisation/load/save for ambi.backendThomas White
2021-04-01GUI: Clean up old tasks when infobar is removedThomas White
2021-03-17GUI: Show beam centre more clearly, and optionallyThomas White
2021-03-15GUI: Add interface for --fix-profile-radius and --fix-divergenceThomas White
2021-03-05Mass update of copyright dates in source code commentsThomas White
2021-03-01GUI: Add history list for random image selectionThomas White
2021-02-25GUI: Improve image info barThomas White
(...and work through horrific circular logic during creation)
2021-02-25GUI: Implement optional dumping of old resultsThomas White
2021-02-19GUI: Don't re-scan streams so oftenThomas White
It only makes sense to re-scan if there is a job running, but this also adds a manual re-scan button for rare exceptions.
2021-02-18GUI: Track separately whether ambiguity operation should be usedThomas White
This allows values to be held for both, which is more helpful.
2021-02-17GUI: Move ambigator parameters to separate structureThomas White
2021-02-17GUI: Plumbing, ready to run ambigator jobThomas White
2021-02-17GUI: Save merging job titleThomas White
2021-02-17GUI: Prevent opening multiple merging windowsThomas White
2021-02-16Add some commentsThomas White
2021-02-16GUI: Add ambigator optionsThomas White
2021-02-10GUI: Sketch out data export windowThomas White
2021-02-09GUI: Load/save FoM parametersThomas White
2021-02-09Track half-dataset split filenames through gui_merge_resultThomas White
2021-02-08GUI: Initial FoM calculationThomas White
2021-02-08Add find_merge_result_by_name()Thomas White
2021-01-27GUI: Avoid warning when there are no results in the project fileThomas White
2021-01-22GUI: Set default values for FoM parametersThomas White
2021-01-20GUI: Implement merge resultsThomas White
2021-01-07GUI: Basic labelling of reflectionsThomas White
Lots of improvements still to be made here, such as using the "real" Cairo text API as well as using proper overlines for negative indices.
2020-12-11result -> indexing_resultThomas White
Because shortly we will have merging_result as well
2020-12-07GUI: Save and restore the selected resultThomas White
2020-12-04GUI: Set default resolution for merging to INFINITYThomas White
Its in Angstroms, not nm^-1
2020-11-20GUI: Add stream output options including metadata to copyThomas White
2020-10-30Get the option values in preparation for mergingThomas White