def _record_first_case(self, driver, inputs, outputs):
        in_names, out_names = self._cfg_map[driver]
        if self._names:
            names = [n for n in in_names if n in self._names]
            tmp = [inputs[i] for i, n in enumerate(in_names)
                                      if n in self._names]
        else:
            names = list(in_names)
            tmp = list(inputs)
        self._split_idx = len(tmp) # where we switch from inputs to outputs
        if self._names:
            names.extend(n for n in out_names if n in self._names)
            tmp.extend(outputs[i] for i, n in enumerate(out_names)
                                           if n in self._names)
            if len(names) != len(self._names):
                return  # case didn't have all necessary variables/expressions
        else:
            names.extend(out_names)
            tmp.extend(outputs)

        self._names = names
        self._add_values(tmp)
Submit a form.
dataset/ETHPy150Open OpenMDAO/OpenMDAO-Framework/openmdao.lib/src/openmdao/lib/casehandlers/caseset.py/CaseArray._record_first_case--crossover with--dataset/ETHPy150Open jmcarp/robobrowser/robobrowser/browser.py/RoboBrowser.submit_form