Skip to content

ERROR exit needed in ATI for missing DataReader #124

Description

@mashephe

Around line 194 in the AmpToolsInterface the package will print a warning if the data reader is missing. This could be the case for example, if a user specifies a data reader that is not registered. A warning is not severe enough as the program continues to run. Here there should be an error and exit -- or elsewhere we should catch the error if a user specifies an unregistered data reader and exit.

      if (!dataRdr)
        report( WARNING, kModule ) << "not creating a DataReader for data associated with reaction " << reactionName << endl;
      if (!genMCRdr)
        report( WARNING, kModule ) << "not creating a DataReader for generated MC associated with reaction " << reactionName << endl;
      if (!accMCRdr)
        report( WARNING, kModule ) << "not creating a DataReader for accepted MC associated with reaction " << reactionName << endl;

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions