You are here

Can't read constraint type

3 posts / 0 new
Last post
Can't read constraint type
#1

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: 
Fri, 2015-08-28 12:33
allan.ferrari

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.

Wed, 2015-09-02 12:54
rmoretti

Dear rmoretti,

This was exactly the problem I have found (spurios characters!).

 

Thank you,

Állan.

Mon, 2015-09-14 14:51
allan.ferrari