use setDefaultWidth in actors
Building workflows in Kepler these days I spend a lot of time changing relation widths from Auto to 1, because w/ Auto the following error message occurs:
ptolemy.kernel.util.IllegalActionException: Error recording workflow structure: Error getting port width: The width of relation .DataTurbineTimeSlice.relation can not be uniquely inferred.
The error includes a suggestion, it sounds like we should take a pass through all actors and update code to call setDefaultWidth as appropriate:
Please make the width inference deterministic by explicitly specifying the width of this relation. In the user interface, right click on the relation, select Configure and change the width. Note that some actors may need to have their Java code updated to call setDefaultWidth(1) on the output port.