diff options
author | Thomas White <taw@physics.org> | 2021-03-03 17:06:48 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2021-03-03 17:06:48 +0100 |
commit | defd159f19585aad359bf5dfbd9f1ff9dc2831fc (patch) | |
tree | 92788b7c608089153e30a0be3c2b9af4e3dca670 /src/gui_backend_slurm.c | |
parent | 30b92cd8dbfbd9d98b28046fafe1a99e3a58ceba (diff) |
SLURM: Remove unused stuff
Diffstat (limited to 'src/gui_backend_slurm.c')
-rw-r--r-- | src/gui_backend_slurm.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gui_backend_slurm.c b/src/gui_backend_slurm.c index 2ce00531..ca4cada5 100644 --- a/src/gui_backend_slurm.c +++ b/src/gui_backend_slurm.c @@ -923,12 +923,10 @@ static void *run_ambi(const char *job_title, if ( !write_ambigator_script(sc_filename, input, "`nproc`", &proj->ambi_params, stream_str) ) { - char *workdir_str = g_file_get_path(workdir); job = start_slurm_job(GUI_JOB_AMBIGATOR, sc_filename, job_title, workdir, &opts->common); job->niter = proj->ambi_params.niter; - g_free(workdir_str); } else { job = NULL; } @@ -970,7 +968,6 @@ static void *run_merging(const char *job_title, if ( !write_merge_script(sc_filename, input, "`nproc`", &proj->merging_params, "crystfel.hkl") ) { - char *workdir_str = g_file_get_path(workdir); enum gui_job_type type; if ( strcmp(proj->merging_params.model, "process_hkl") == 0 ) { if ( proj->merging_params.scale ) { @@ -983,7 +980,6 @@ static void *run_merging(const char *job_title, } job = start_slurm_job(type, sc_filename, job_title, workdir, &opts->common); - g_free(workdir_str); } else { job = NULL; } |