Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Postprocess log file #1068

Closed
pherepanov opened this issue Jan 17, 2024 · 4 comments
Closed

Postprocess log file #1068

pherepanov opened this issue Jan 17, 2024 · 4 comments

Comments

@pherepanov
Copy link

This is an old issue: when re-running a Postprocess job (via "continue" after updating a mask) the logfile.pdf is not updated.

@pherepanov pherepanov changed the title Posprocess log file Postprocess log file Jan 17, 2024
@biochem-fan
Copy link
Member

@scheres

The offending line is:

FileName fn_log = fn_out.beforeLastOf("/") + "/logfile.pdf";
if (!exists(fn_log))
{
std::vector<FileName> fn_eps;
fn_eps.push_back(fn_out + "_fsc.eps");
fn_eps.push_back(fn_out + "_fsc_part.eps");
fn_eps.push_back(fn_out + "_guinier.eps");
joinMultipleEPSIntoSinglePDF(fn_log, fn_eps);
}

Is if (!exists(fn_log)) intentional?

@biochem-fan
Copy link
Member

@pherepanov

Meanwhile you can use "overwrite continue" as a workaround.

@pherepanov
Copy link
Author

Thank you, I always forget about this feature. Although it would be good to rewrite the log on continue; after all, the log should correspond to the files sitting in the directory.

@biochem-fan
Copy link
Member

Fixed. Thank you very much for your report.

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

No branches or pull requests

2 participants