🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

[SOLVED] Keep all parameter of Generate Attributes operator with attribute overw

User: "tennenrishin"
New Altair Community Member
Updated by Jocelyn
Isn't keep_all meant to specify whether or not to keep those attributes that are not generated within the Generate Attributes operator?

However, the following process (for example) produces an empty exampleset where I would have expected attribute a to survive.
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<process version="5.3.000">
 <context>
   <input/>
   <output/>
   <macros/>
 </context>
 <operator activated="true" class="process" compatibility="5.3.000" expanded="true" name="Process">
   <process expanded="true" height="654" width="980">
     <operator activated="true" class="generate_data_user_specification" compatibility="5.3.000" expanded="true" height="60" name="Generate Data by User Specification" width="90" x="112" y="75">
       <list key="attribute_values">
         <parameter key="a" value="1"/>
         <parameter key="b" value="2"/>
       </list>
       <list key="set_additional_roles"/>
     </operator>
     <operator activated="true" class="generate_attributes" compatibility="5.3.000" expanded="true" height="76" name="Generate Attributes" width="90" x="313" y="75">
       <list key="function_descriptions">
         <parameter key="a" value="a"/>
       </list>
       <parameter key="keep_all" value="false"/>
     </operator>
     <connect from_op="Generate Data by User Specification" from_port="output" to_op="Generate Attributes" to_port="example set input"/>
     <connect from_op="Generate Attributes" from_port="example set output" to_port="result 1"/>
     <portSpacing port="source_input 1" spacing="0"/>
     <portSpacing port="sink_result 1" spacing="0"/>
     <portSpacing port="sink_result 2" spacing="0"/>
   </process>
 </operator>
</process>
Is this the intended behavior?

Find more posts tagged with

Sort by:
1 - 2 of 21
    User: "MariusHelf"
    New Altair Community Member
    No, that's not expected behaviour - thanks for reporting! Also for this I just created an internal issue.

    Best regards,
    Marius
    User: "Dominik_Halfkan"
    New Altair Community Member
    The bug has been fixed, it will be available in the next release.