Dessia-tech / dessia_common

GNU Lesser General Public License v2.1
1 stars 2 forks source link

Save workflowrun as python script #571

Closed younesdessia closed 8 months ago

younesdessia commented 1 year ago

Export wf_run as python script with input

younesdessia commented 1 year ago

@GhislainJ I'm open to discussing the possibility of adding the ability to record streams to temporary files.... Thank you.

GhislainJ commented 10 months ago

In order to get this PR going again, we need to set in the script that user should reference their files themselves :

file1 = BinaryFile.from_file("Insert your path here")
input_values = {0: file1}
file1.close()
younesdessia commented 9 months ago

@GhislainJ ready for review !

younesdessia commented 8 months ago

@GhislainJ it's a mistake on my part, I thought this value was a list like I did at the beginning, I fixed all that and consolidated the unit test.