Open thoth291 opened 3 years ago
with open(outputs['output'], 'w') as f:
np.save(f, data_output)
....
# Operation 2
with open(inputs['foo']) as f:
input_data = np.load(f)
output_data = input_data + 10
Communication using the files is a use basic case. This way is easier to distribute computation across cluster of workers, also using operations written in different languages. But it does not have to be this way. Plynx supports Executor plugin, that can interpret code and graph itself in your way. Please let me know if you want to hear more about it! Here are some basics https://plynx.readthedocs.io/en/latest/plugins.html#executors
Actually not the first time people are asking about removing an operation! Thanks for noting, because I need more information about use cases
Currently you can click "preview" and run the resulting script locally... Not best option but definitely easiest for now
I've created 2 operations. One creates a numpy array:
data_output = np.arange(15).reshape([3,5])
And another one adds 10 to that array:output_data = input_data + 10
I don't understand how to do that - and can't find examples to learn from. Can someone help me with that or point to better docs?How to preview an operation's code from within the workflow graph? Does it always using un-depreciated version or one can still point to depreciated one? Id's are non-human readable - so navigating in operations tab might get more difficult with many similarly named operations.
2.5. How to completely delete an operation or perform a cleanup by removing unused ones into some sort of archive?