Hello everyone,
I am running Abinitio protocol with some experimental constraints and I have encountered the following message in the log file:
core.scoring.constraints.util: (2) Constraint choice: {file name}
core.scoring.constraints.ConstraintsIO: (2) read constraints from {file name}
core.scoring.constraints.ConstraintsIO: (2) can't read constraint type
core.scoring.constraints.ConstraintsIO: (2) Read in {n} constraints
I was wondering why this is happening. (can't read constraint type)
Just in case, my file of constraints is in the following format:
AtomPair CA x CA y FLAT_HARMONIC a b c
Thank you guys,
Állan.
Category:
Post Situation:
It's a little hard to say without seeing your constraint file, but one possibility is that you have spurious characters in your constraint file. Noise characters in the file (this includes non-printing characters, like which result from a DOS/Windows formatted file on a Mac/Linux machine) would cause exactly this sort of error.
You might also see this error if you have blank lines in the file which aren't *completely* blank, or comments which don't start immediately in the first column.
Dear rmoretti,
This was exactly the problem I have found (spurios characters!).
Thank you,
Állan.