Validation
The following validation steps are performed during the autoregistration process:
-
User ID validation (at login)
-
Source validation
If the source validation is on, but the given source doesn't exist in the DB, the submission will fall to the Staging area, from where it will be possible to register it, even without being able to change it.
-
External ID (e.g. LnbRef, Lot ID) validation (check for the uniqueness of the IDs):
The format of the LnbRef can be customized (see the Configuration page) and it is validated during the registration process. A valid LnbRef format can be e.g. A12345 (a one character string followed by 2-11 digit number) but any other format is accepted if it can be described by a set of regular expressions.
The LnbRef can be modified after the registration, but the attached Lot ID cannot.
A valid Lot ID can be any positive integer number with a maximum of approximately 2×10^10. Zero, empty field or numbers followed by text are not considered valid Lot IDs, and therefore cannot be accepted. In these cases warning messages are displayed in red below the fields, like: "Please enter a positive value." If the registration process is started in spite of the first warning message, another message will be received:
Depending on how the "Reject id duplication" system switch is configured (for each source), the submission is either rejected (and therefore will not be present in the Staging area) or it will fall to the Staging area with "LnbRefDuplicated" or "LotIdDuplicated" status messages.
-
The scale of salt and solvate multiplicity
Currently the default settings are 0 for the salt and 1 for the solvate multiplicity scale.
-
The check for a positive charge
Structures having a positive charge can be checked and they can be sent to the Staging area for more attention. A positively charged structure that has a counterion salt from the Salt Dictionary is checked for a possible proton transfer from the structure to the salt. -
The check for a balanced charge
Unbalanced structures cannot be registered, they will fall to the Staging area to be corrected. -
The check for the maximum number of components in case of mixtures
For the maximum allowed components a number can be set in case of mixtures. If this number is exceeded, the compound to be registered will fall to the Staging area to be corrected.
Further validation options can be configured using the source dependent system switchers. For more informations about the system switchers, please consult the Configuration page.