aboutsummaryrefslogtreecommitdiff
path: root/src/gui_backend_local.c
AgeCommit message (Collapse)Author
2022-11-29Local BE: add some extra warningsThomas White
2021-10-20GUI: Track the indexing result from which each merge result cameThomas White
2021-07-23GUI: Write partialator log files ("pr-logs") in working folderThomas White
2021-07-15GUI: Run all jobs with same CWD as GUI itselfThomas White
This requires changing all the paths to relative ones. Previously, the jobs ran with their CWDs set to the corresponding "result" folder. The trouble is, this breaks everything that uses a relative location: image filenames, mask/satmap files referenced by the geometry, etc. Note that this change also means that the temporary folders ("indexamajig.XXX") are now produced in the top-level working directory. Eventually, a GUI option should be added to allow these folders to be put somewhere better (i.e. somewhere fast). Closes: https://gitlab.desy.de/thomas.white/crystfel/-/issues/44
2021-07-12GUI: Add --wavelength-estimate and --camera-length-estimateThomas White
Only when using PinkIndexer. Closes: https://gitlab.desy.de/thomas.white/crystfel/-/issues/25
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-04-01Local BE: Fix ownership of workdir GFileThomas White
2021-04-01GUI: Clean up old tasks when infobar is removedThomas White
2021-03-05Mass update of copyright dates in source code commentsThomas White
2021-03-04SLURM: Set serial offset for indexamajig jobsThomas White
2021-03-04GUI: When starting indexing, prefix relative filenames with ../Thomas White
2021-03-03GUI: Submit indexing jobs as job arrays, not individual jobsThomas White
2021-03-01Local BE: Write a script and run itThomas White
This easily gives us the stdout.log and stderr.log needed for monitoring the job.
2021-02-22Read job progress from written log files, even for local BEThomas White
This simplifies the backends somewhat, and makes them look more similar - e.g. there is now only one routine to find out how far along a merging job is. It has the added bonus of adding a log file for local jobs, which we would've had to add soon anyway.
2021-02-19Local BE: Implement better progress bars for mergingThomas White
2021-02-18Eliminate duplicate make_job_folder/make_workdirThomas White
2021-02-18GUI: Actually run ambigator (local backend only)Thomas White
2021-02-17GUI: Re-work local backend plumbingThomas White
A single command line is not expressive enough for at least two cases: process_hkl, which needs to be run two extra times to generate the splits, and ambigator, which needs to have its input streams concatenated first. This also splits out the routine for creating the working folder and writing the notes file.
2021-02-17GUI: Plumbing, ready to run ambigator jobThomas White
2021-02-09Track half-dataset split filenames through gui_merge_resultThomas White
2021-01-20GUI: Implement merge resultsThomas White
2020-12-11result -> indexing_resultThomas White
Because shortly we will have merging_result as well
2020-12-02Local BE: Run mergingThomas White
2020-11-30Pass result to backend for mergingThomas White
2020-11-30Local BE: Genericise subprocess functionsThomas White
2020-10-29Merge backend plumbingThomas White
2020-10-29Tedious option plumbingThomas White
2020-10-22Skeleton for merging via GUIThomas White
2020-09-10Local BE: Remove unused #includeThomas White
Not needed, and prevents compilation on Mac OS.
2020-09-08Just use project structure in backendsThomas White
We have to pass the crystfelproject anyway, to add the new results to the list. It seems messy to pass everything else separately, when at this moment the values must be exactly what is in the project structure anyway.
2020-09-08Local/SLURM BE: Add full path to stream in resultsThomas White
2020-09-04Local BE: duplicate job titleThomas White
add_result() takes ownership of all of these
2020-09-04Add results from new indexing jobThomas White
2020-08-31Split up job for submission via SLURMThomas White
2020-08-28Write notes to fileThomas White
2020-08-28s/job title/job name/Thomas White
2020-08-27Fix function prototypes and returns for focus-out-eventThomas White
2020-08-27Construct complete command line for indexamajigThomas White
2020-08-27Local BE: run in working directoryThomas White
2020-08-26Add job title and notes fieldsThomas White
This required a bit of callback re-wiring
2020-08-26Set backend options on focus out eventThomas White
See 76ff5be0 for more details. Fortunately, there is no speed problem this time.
2020-08-25Implement progress bar for indexing via generic interfaceThomas White
2020-08-25Widget spacingThomas White
2020-08-25Create a progress bar for each running jobThomas White
2020-08-25Factor out convert_intThomas White
2020-08-25Local backend: read number of processesThomas White
2020-08-25Final (?) version of backend APIThomas White
2020-08-21Redefine backend interface functionsThomas White
2020-08-21Framework for backend parameters via GUIThomas White
2020-08-12GUI: Set pgid before execThomas White
See 870e4e5740. This is a better way of doing the same thing.