Open DillonJ opened 1 year ago
Including this in the TB 0.7 milestone - I think this is a simple thing to fix. If no path is specified, the logfile should be in the project folder somewhere, perhaps in the local tool folder?
How would we communicate the path of the project or tool folder to SpineOpt?
Also, do we really want log files to travel with the project?
We could try a plugin trick: declare the log file as an output of the tool and in that case it will be placed in the tool's result folder.
I'm labeling this Nice to Have - we can elevate it if it's a bigger issue.
When I specify a log filename with no path for the the log_file_path argument for the SpineOpt tool in toolbox, it writes the file outside of the project to the following location:
C:\Users\jodyd.spinetoolbox\plugins\SpineOpt\specifications\Tool
This is problematic because if I specify an absolute path it won't be portable - it would be good if the default location was the tool folder, inside the project
Edit: I should add that this happens even when the "execute in source directory" option is selected