|
@@ -840,9 +840,9 @@ pub fn split_output(full_output: &str) -> (String, Option<SlurmEpilog>) {
|
|
|
if let Some(epilog_start) = full_output.find("----------------------------------------------") {
|
|
if let Some(epilog_start) = full_output.find("----------------------------------------------") {
|
|
|
// Check if this is actually the epilog header
|
|
// Check if this is actually the epilog header
|
|
|
if full_output[epilog_start..].contains("SLURM EPILOG") {
|
|
if full_output[epilog_start..].contains("SLURM EPILOG") {
|
|
|
- let job_output = full_output[..epilog_start].trim_end().to_string();
|
|
|
|
|
|
|
+ // let job_output = full_output[..epilog_start].trim_end().to_string();
|
|
|
let epilog = SlurmEpilog::parse(full_output);
|
|
let epilog = SlurmEpilog::parse(full_output);
|
|
|
- return (job_output, epilog);
|
|
|
|
|
|
|
+ return (full_output.to_string(), epilog);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|