Anderson-Lab / Learn2Mine-Main

2 stars 3 forks source link

Need a way for a student to submit new code no matter #3

Closed pauleanderson closed 10 years ago

pauleanderson commented 10 years ago

Sometimes there will be problems with a submission and the refresh results will never work. There needs to be a button or something that clears out the submission. Several students are stuck at this point right now, so we need to fix this ASAP.

TomNash commented 10 years ago

Interesting. Never have run into that issue. Even with the buffer galaxy is at now, I can run jobs and have no issue.

pauleanderson commented 10 years ago

It only happens when the galaxy job fails and I end up deleting it. Basically, is there an easy way we can remove the refresh id?

TomNash commented 10 years ago

Have the Galaxy API code to delete a history id. Need to implement into website to update other pertinent info.

from bioblend import galaxy gi = galaxy.GalaxyInstance(url='http://portal.cs.cofc.edu/learn2mine/', key='’) gi.histories.delete_history(id='')

pauleanderson commented 10 years ago

That's cool. I've never seen the bioblend stuff. Maybe that is new, but cool. Is there a way to list the histories and get their date of creation?

On Fri, Aug 29, 2014 at 6:28 AM, Tom Nash notifications@github.com wrote:

Have the Galaxy API code to delete a history id. Need to implement into website to update other pertinent info.

from bioblend import galaxy gi = galaxy.GalaxyInstance(url='http://portal.cs.cofc.edu/learn2mine/', key='’) gi.histories.delete_history(id='')

— Reply to this email directly or view it on GitHub https://github.com/BiRG/Learn2Mine-Main/issues/3#issuecomment-53875248.

TomNash commented 10 years ago

Ability to clear current submission working. Need to incorporate bioblend for enhancement and delete histories.