Output Files from a GenericAnalysis

Hi
I run a batch file using a generic worker.
this opens a plaxis model, creates a number of pictures and is then supposed to close and send the pictures back.
when running, i notice the pictures are being made, but when the analysis is finished, all the files (including the input files) disappear and thus nothing is returned.
Am i specifying the analysis incorrectly?

controller.py:

       output_files = [f"plots/{phase.phase_number} {phase.name}.png" for phase in model.phases]
        
        try:
            log_run = GenericAnalysis(
                files=files,
                executable_key="plaxis_log_file",
                output_filenames=output_files,
            )
            log_run.execute(timeout=3600)

config.yaml:

plaxis_log_file: #
    path: 'C:\work\plaxis_log\RUNcalculation.bat'
    workingDirectoryPath: 'C:\work\plaxis_log'

Hi Natalie,

You are correct in noticing that the output files are wiped after the batch file is finished.
But, right before they are deleted the output files are sent back through the worker.
Have you tried looking at the output files in your controller?
You can do this through log_run.get_output_file("<output_file_name>").

Let me know if that returns anything.

then my struggle seems to be with the storage functionality and not returning the results :slight_smile:
thanks