aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
9 hoursalign_detector: Add --camera-lengthHEADmasterThomas White
35 hoursGUI: Add Slurm --exclusive optionThomas White
Fixes: https://gitlab.desy.de/thomas.white/crystfel/-/issues/103
36 hoursGUI: Improve progress bar for large Slurm jobsThomas White
Previously, it counted the number of "COMPLETED" jobs. This is unreliable, because sub-jobs might be taken out of the scontrol output before the whole job is complete. Now, it counts the PENDING (and similar) states, and subtracts from the total number of tasks to get a reliable count. Fixes: https://gitlab.desy.de/thomas.white/crystfel/-/issues/102
8 daysFix documentation references to out-of-plane tiltsThomas White
This brings the GUI and manual pages back into alignment (so to speak) with the changes in d00a9f8566bd1dd49d88cffe3580dfa8d4b27299. align_detector --out-of-plane-tilts is not expected to be very stable, and currently isn't available via the GUI.
12 daysindexamajig: Ensure that image peak list is set if --no-revalidateThomas White
This was broken by 1b8abebf8bf37d5d57ed55816223d95557b7f844.
12 daysindexamajig: Fix a typo in an error messageThomas White
13 daysGUI: Add checkbox for peakfinder8 fast modeThomas White
2024-08-26indexmajig: Free some stuff (in main process)Thomas White
This slightly reduces spam in Valgrind output.
2024-08-13GUI: Use SVG icon versions directlyThomas White
On my system, the icons were showing up too small, but technically at the correct size (48 pixels). Now, they can be drawn at whatever scale fits the screen best, as judged by GTK. For me, this restores the correct size.
2024-07-29GUI: Use basename in "Jump to frame" dialogue boxThomas White
Otherwise, we run the risk of a very wide window.
2024-07-28GUI: Set reflection indices default offThomas White
It makes the display a bit too crowded, and it seems less likely that the indices will be needed than not.
2024-07-27align_detector: Add --out-of-plane-tiltsThomas White
This changes the behaviour of --out-of-plane to refine only the panel translations in the z-direction, not rotations. Refining panel tilts out-of-plane seems to be a bit of a stretch, but there is a new option --out-of-plane-tilts to try it.
2024-07-25GUI: Improve the "jump to frame" featureThomas White
This extends the "Jump to frame" dialogue box by adding two things: 1. A way to choose a file, if there is more than one. Only the first 20 unique filenames are considered, to avoid a very long list. 2. A way to choose a frame number (as shown in the filename bar), rather than a frame ID. Closes: https://gitlab.desy.de/thomas.white/crystfel/-/issues/104
2024-07-16GUI: Fix argument string lengthThomas White
Fixes: https://gitlab.desy.de/thomas.white/crystfel/-/issues/106
2024-07-16GUI: Slurm backend: copy geometry fileThomas White
It's needed for detector refinement. Fixes: https://gitlab.desy.de/thomas.white/crystfel/-/issues/101
2024-07-15im-sandbox: fix bounds of snprintf statementsPhilipp Middendorf
I was noticing a segmentation fault appearing at the end of an indexamajig call. Debugging gave me: snprintf (__fmt=0x40d1fd "%s/mosflm.lp", __n=127, __s=0x471f90 "") delete_temporary_folder (n_proc=12, tmpdir=0x427c00 "./indexamajig.260408") at ../src/im-sandbox.c:1100 Which led me to these snprintf statements. Easily fixed, but a bit had to spot.
2024-06-25process_hkl: Don't accidentally skip crystals in first patternThomas White
There was a truly ancient bug here, which has existed for as long as CrystFEL has supported multi-crystal indexing (version 0.5.0, 11 years ago!). See 1e03ed982741fdc576ec5a915da120450df20499. Previously, when using process_hkl --even-only (without --start-after), if the first image contained multiple crystals, they would all be skipped. The correct behaviour is for second, fourth, sixth etc crystals to be merged, if they exist. If the first image contained exactly two crystals, this glitch would put the alternating sequence one step out of sync, such that the only difference between --odd-only and --even-only was the inclusion of the very first crystal. Fortunately, it was obvious when this happened, because the two merged files would be practically identical.
2024-06-25FormattingThomas White
2024-06-11ASAP::O: Increase nack timeout to 1 minuteThomas White
2024-06-11indexamajig: Don't send acknowledgements unless --asapo-acksThomas White
Prevously, it disabled the resend timeout, but still sent the acknowledgements.
2024-06-04indexamajig: Add --asapo-acks optionThomas White
2024-05-06indexamajig: Avoid is_hdf5_file("-", ...)Thomas White
With thanks to biochem-fan. Fixes: https://github.com/taw10/crystfel/issues/12
2024-04-30indexamajig: Reduce ASAP::O verbosityThomas White
2024-04-29indexamajig: Send ASAP::O acknowledgement only after process_imageThomas White
Otherwise, we end up acknowledging the previous message ID after receiving something like kEndOfStream.
2024-04-29indexamajig: Report ASAP::O message ID for acknowledgementThomas White
Something strange is going on here, need to debug.
2024-04-24indexamajig: Add ASAP::O acknowledgementsThomas White
2024-04-23align_detector: Add missing argument in warning messageThomas White
Fixes: https://github.com/taw10/crystfel/issues/8
2024-04-19GUI: Fix buffer overflow in "delete_gui_tempdir"Philipp Middendorf
2024-04-18Merge branch 'julia'Thomas White
2024-03-07ASAP::O: Do not free image->data_block until we get the callbackThomas White
2024-03-07ASAP::O: Add even more debug for producerThomas White
2024-03-07ASAP::O: Fix ingest flags for placeholdersThomas White
2024-02-16align_detector: Add 'closeandreopen' option for MillepedeThomas White
With large indexing jobs, we generate a LOT (4000+) of Millepede files. This option is needed to prevent pede from keeping all these files open simultaneously, which runs into an operating system limit.
2024-02-15GUI: Find all Mille folders for alignment taskThomas White
Depending on the backend, this could be a single "mille-data", or multiple "mille-data-X" folders.
2024-02-15GUI: Use separate --mille-dir for each sub-jobThomas White
Previously, they all wrote into the same "mille-data" folder, overwriting each others' files and causing general carnage.
2024-02-06Peak search algorithms should not mutate image structureThomas White
This changes all the peak search procedures into pure functions that return a new ImageFeatureList. This takes the management of image->features out of the hands of the peak search routines, and into the calling code's responsibility. In turn, this allows a load of stuff to become const.
2024-02-06Remove an unused variableThomas White
2024-02-06Fix incorrect uses of cell_freeThomas White
This also gets rid of crystal_copy_deep. From now on, all crystal_copy calls also copy the UnitCell.
2024-02-06Crystals shouldn't own RefLists (part 6)Thomas White
This fixes the remaining programs.
2024-02-06Crystals shouldn't own RefLists (part 5)Thomas White
This fixes the entire partialator/scaling/rejection part.
2024-02-06Crystals shouldn't own RefLists (part 3)Thomas White
This fixes integration.c, peaks.c and process_hkl.c.
2024-02-06Add missing image initialisersThomas White
2024-02-06Crystal: Remove reference to image structure (part 3)Thomas White
2024-02-06Crystal: Remove reference to image structure (part 2)Thomas White
2024-02-06Crystal: Remove reference to image structure (part 1)Thomas White
2024-02-06Sort-of-workaround for argp '--help' crash on MacOSThomas White
Indexamajig --help causes a segfault on MacOS due to a bug in argp-standalone. That package is unlikely to be updated any time soon. Eventually, Homebrew might switch to one of the non-crashy forks, but probably not soon. We aren't the only ones affected - see https://www.openwall.com/lists/musl/2021/02/10/1 This commit adds a warning message to state that we already know about it, and it's not "our" fault. It also removes the corresponding test, since we know it fails.
2024-01-30GUI: Remove -et-al suffix from results name, if only one streamThomas White
2024-01-12indexamajig: Implement --max-mille-levelThomas White
2024-01-12align_detector: Enumerate directory contents if necessaryThomas White
2024-01-12GUI: Fix Millepede optionsThomas White