Related to this feedback http://fold.it/portal/node/988087
When a script runs, can the output of the script written to the output window be written to a fixed logfile. Something like foldit.log. It can replace the previous log file, so it only retains the last run.
Place a text header at the top of the file with the name of the script, the name of the puzzle, and the date and time of the run. Besides being useful, this is a safety measure to prevent malicious content from being created by a script. With this info at the top of the file, it should be safe and extremely useful.
Flush the output to the file with each print statement in the script.
We can then write external tools that can analyze the output, even in real time while the script is running.
read/write form/to text file, also write down output window.
sometimes that would be very use full :)
I'm working on a small project that desperately needs this capability
Anything.
I'm desparate.
I'd really like to gather statistics and other useful information I can feed back into my scripts.
I could gather wiggle and shake iteration probabilities base upon various condition.
I oculd gather good/bad mutation probabilities.
I could gather secondary structure probabilities.
Heck, I could gather game specific action effects and replay logs.
I agree: something like this is badly needed for monitoring script performance.
This morning I was thinking the recipe output window could have a check box where:
- when clicked will ask for a file name.
- when clicked will send recipe output to the named file.
- will unclick when recipe output window is not open.
Ok, if you don't want our scripts to write a file directly… How about let us have a button on all scripts (like the show output) that Emails our results to our account email (email output). In this way we can use our own email scans to look for any malicious code.
Or print recipe output to a web page that we can access and cut and paste from.
This inability to analyze our script results retards our efforts.
Why is this excellent suggestion being ignored?