The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
%{process_name} as filename in store operator
Hello,
I'm trying to use the macro %{process_name}_results as the file name for the store operator but the object saved in the repository ends up being called process_name_results, which is not what I'd expected.
How do I set the object name to be the same as the process name?
The operator setup looks like this:
<operator activated="true" class="store" compatibility="5.1.001" expanded="true" height="60" name="Store" width="90" x="380" y="300">
<parameter key="repository_entry" value="%{process_name}_results"/>
</operator>
Any help gratefully recieved.
M.
I'm trying to use the macro %{process_name}_results as the file name for the store operator but the object saved in the repository ends up being called process_name_results, which is not what I'd expected.
How do I set the object name to be the same as the process name?
The operator setup looks like this:
<operator activated="true" class="store" compatibility="5.1.001" expanded="true" height="60" name="Store" width="90" x="380" y="300">
<parameter key="repository_entry" value="%{process_name}_results"/>
</operator>
Any help gratefully recieved.
M.
0
Answers
and welcome to rapidminer (at least it is your first post ).
The correct name of the macro is: process_file, hence worked for me. I can only guess that this is a bug.
@developers: From MacroHandler#getMacro This snippets work only if the process-name contains an ending. If one add a artificial ending when saving a process, it works. Otherwise not (I have tested it).
hope this was helpful,
steffen
Thanks for the welcome. I am new to Rapidminer but I'm really impressed with how quickly it let me get up and running.
That works for me. I didn't find anything in the bug tracker related to that macro. Should I raise one?
M.
yeah, sure. First I wanted to wait for a developer statement, but since they are rather busy it is no mistake to open a ticket. They can still close it as "work as intended" .
I suggest to add a link to this thread.
thank you,
steffen
http://bugs.rapid-i.com/show_bug.cgi?id=473