MantisBT - Rosetta
View Issue Details
0000012Rosetta[All Projects] Input Handlingpublic2012-06-20 13:462013-10-01 11:22
rmoretti 
olange 
normalminoralways
assignedopen 
Trunk 
 
constraints
any
0000012: Constraints silently eat the rest of the line.
If you naively follow the documented format of the multi-constraints like multi or ambiguous ("Constraint_Type1 Constraint_Def1 [Constraint_Type2 Constraint_Def2 [...]]"), one might put the constraints all on one line.

(As was done with rosetta_demos/public/dock_with_user_defined_constraints/rosetta_inputs/constraint_ambiguous.cst)

This is a problem as some (all?) of the constraint definitions will silently eat everything after the end of the definition to the next newline, effectively killing all but the first constraint.

It should probably be changed to either behave robustly when presented with a single line format, throw an error/warning message, or the documentation changed to make clear the sub-constraints all need to be on their own line.
c.f. http://www.rosettacommons.org/content/about-residue-number-rosetta#comment-4666 [^]
No tags attached.
Issue History
2012-06-20 13:46rmorettiNew Issue
2012-06-20 15:03smlewisNote Added: 0000004
2012-06-20 15:04smlewisAssigned To => smlewis
2012-06-20 15:04smlewisStatusnew => confirmed
2012-06-20 15:04smlewisNote Edited: 0000004bug_revision_view_page.php?bugnote_id=4#r2
2012-08-21 14:34smlewisNote Added: 0000076
2012-08-21 15:06smlewisAssigned Tosmlewis =>
2012-08-21 15:18jadolfbrAssigned To => jadolfbr
2012-08-21 15:18jadolfbrStatusconfirmed => assigned
2013-10-01 10:01jadolfbrAssigned Tojadolfbr => rmoretti
2013-10-01 10:01jadolfbrAssigned Tormoretti => jadolfbr
2013-10-01 11:17jadolfbrAssigned Tojadolfbr => flo
2013-10-01 11:22floAssigned Toflo => rmoretti
2013-10-01 11:22floAssigned Tormoretti => olange

Notes
(0000004)
smlewis   
2012-06-20 15:03   
(edited on: 2012-06-20 15:04)
BOUNDED func is a function that has this "eating" behavior; it can also eat things that aren't on the line (meaning, the whole next line) if rswitch and tag are not present:

http://www.rosettacommons.org/content/maximum-number-constraints#comment-3045 [^]

(0000076)
smlewis   
2012-08-21 14:34   
GAUSSIANFUNC has the same behavior.