Skip to content

Commit

Permalink
Merge pull request #136 from rest-for-physics/alvaroezq_fixStopRuns
Browse files Browse the repository at this point in the history
TRestRawMultiFEMINOSToSignalProcess exits when processing a stopped run .aqs file
  • Loading branch information
lobis authored Jun 12, 2024
2 parents 22760ed + fa4f52e commit 7fa5fbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TRestRawMultiFEMINOSToSignalProcess.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ TRestEvent* TRestRawMultiFEMINOSToSignalProcess::ProcessEvent(TRestEvent* inputE
if (!endOfEvent) {
if (fread(&(cur_fr[fr_offset]), sizeof(unsigned short), nb_sh, fInputBinFile) != nb_sh) {
printf("Error: could not read %d bytes.\n", (nb_sh * 2));
exit(1);
return nullptr; // exit(1);
}
totalBytesReaded += sizeof(unsigned short) * nb_sh;

Expand Down

0 comments on commit 7fa5fbf

Please sign in to comment.