Hi ptolemy-hackers,
The Case director does not find the correct Refinement when the control token is a string. Attached is a patch. Thanks, --dan
Index: CaseDirector.java =================================================================== RCS file: /home/cvs/cvsanon/ptII/ptolemy/actor/lib/hoc/CaseDirector.java,v retrieving revision 1.10 diff -r1.10 CaseDirector.java 40a41 > import ptolemy.data.StringToken; 180c181,190 < String controlValue = container.control.getToken().toString(); --- > String controlValue; > Token t = container.control.getToken(); > // if it's a string, use stringValue() otherwise there > // are quotes around the string. > if (t instanceof StringToken) { > controlValue = ((StringToken)t).stringValue(); > } else { > controlValue = t.toString(); > } >