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
How to make a repository store inside script?
If I have a script with:
ExampleSet es = operator.getInput(ExampleSet.class);
Return es;
And then connect this script to a store operator.
I get this error:
Mandatory input missing at port Store.input.
The script runs fine, but this error probably caused because meta data not propagated trough script operator.
If I can just store inside the script, I don't need to use the store operator, and I get a nice process without warnings and errors.
Best regards,
Wessel
ExampleSet es = operator.getInput(ExampleSet.class);
Return es;
And then connect this script to a store operator.
I get this error:
Mandatory input missing at port Store.input.
The script runs fine, but this error probably caused because meta data not propagated trough script operator.
If I can just store inside the script, I don't need to use the store operator, and I get a nice process without warnings and errors.
Best regards,
Wessel
0
Answers
indeed, the script operator does not generate any meta data. To store an IOObject inside your script, you can just call Regards,
Marco