Allow scripts to upload and download

Case number:699969-2000684
Topic:General
Opened by:Enzyme
Status:Open
Type:Suggestion
Opened on:Wednesday, May 6, 2015 - 00:54
Last modified:Monday, July 8, 2019 - 15:15

Allowing scripts to upload/download to both yourself and teammates would give current scripts the ability to update and integrate across multiple Foldit clients. Simple commands can be included in the description.

At intervals a running script can connect to the server and gain information on any new uploads. The description can then be parsed and the script can determine if the description contains one of the flags unique to the script running in the current Foldit client. If a flag is found, the script can download the solution, run the desired action, then upload the solution with new flags or it's unique flag removed from the description.

(Wed, 05/06/2015 - 00:54  |  3 comments)


Enzyme's picture
User offline. Last seen 49 years 30 weeks ago. Offline
Joined: 07/10/2008
Groups: None

With a little extra lua coding from our side, this could alleviate a small part of the need for the "pause" feature requested in another thread. Periodically the protein would be uploaded by the script, downloaded and handfolded, then the player would re-upload including one of the script's flags in the description. The script could then download the solution and continue.

One big problem I see with allowing scripts access to upload would be if a script began uploading continuously. Some simple limitation could be time based or score based to prevent continuous uploads. My wish is that the server could tell which uploads came from a script and each player is allowed 5 automated uploads, as a new automated upload is made, the oldest automated upload is removed.

Joined: 09/24/2012
Groups: Go Science

It's implemented now for local yourself (not for groups yet)

save.SaveSolution(name)

save.LoadSolutionByName(name)

Joined: 09/24/2012
Groups: Go Science

Now is would be useful to be able to delete a local solution.

Justification: If I decide to save locally a lot of solutions, I can decide to locally delete the oldest ones in order to save place on my hard disk.

Sitemap

Developed by: UW Center for Game Science, UW Institute for Protein Design, Northeastern University, Vanderbilt University Meiler Lab, UC Davis
Supported by: DARPA, NSF, NIH, HHMI, Amazon, Microsoft, Adobe, RosettaCommons