Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
KSkwarczynski committed Jan 6, 2025
1 parent 19238e2 commit 4f6ccf6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Diagnostics/PlotMCMCDiag.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -183,11 +183,11 @@ void PlotAutoCorr(TString fname1, TString fname2, TString fname3, TString fname4

int main(int argc, char *argv[]) {
SetMaCh3LoggerFormat();
if (argc != 2)
if (argc < 2 || argc > 5)
{
MACH3LOG_ERROR("How to use: {} DiagMCMC_Output.root", argv[0]);
MACH3LOG_ERROR("Up to 4 files");
throw MaCh3Exception(__FILE__ , __LINE__ );
throw MaCh3Exception(__FILE__ , __LINE__);
}

if(argc == 2) {
Expand Down
2 changes: 1 addition & 1 deletion Diagnostics/ProcessMCMC.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ int main(int argc, char *argv[])
nFiles = 0;
if (argc != 3 && argc !=6 && argc != 8)
{
MACH3LOG_ERROR("How to use: {}<Config> <MCMM_ND_Output.root>", argv[0]);
MACH3LOG_ERROR("How to use: {} <Config> <MCMM_ND_Output.root>", argv[0]);
throw MaCh3Exception(__FILE__ , __LINE__ );
}

Expand Down

0 comments on commit 4f6ccf6

Please sign in to comment.