Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check the Status of Frozen "Scheduled" Protocols to Cancel #4

Open
rychen58 opened this issue Feb 12, 2020 · 2 comments
Open

Check the Status of Frozen "Scheduled" Protocols to Cancel #4

rychen58 opened this issue Feb 12, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@rychen58
Copy link

rychen58 commented Feb 12, 2020

Summary & Context

Currently, there are 39 frozen "Scheduled" protocols inside Aquarium, and these protocols are frozen so they can't run and complete. Two for Order Primer protocol (Plan # 20717), five for PCR protocol (Plan # 20767, 207774), 12 Upload Sequencing Results protocol (Plan # 20679), 4 Confirm Sequencing Results protocol (Plan # 20670 and 20671), and 16 Make Miniprep + Glycerol Stock (Plan # 20698, 20699, and 20700).

Expected Behavior

Normally if a protocol is scheduled, an associated job will be generated, and the user can run the job to complete the protocol.

Current Behavior

There is no job associated with these frozen "scheduled" plans, which means these protocols can't be run.

Possible Solution

!!!!Before trying the possible solution below, check with Rita to see anyone is currently "scheduling" new protocols!!!!
According to Ben from Klavins Lab:
You'll have to run this in the rails console within the Aquarium container.
From the Aquarium directory, run
docker-compose exec app /bin/sh
rails c
Operation.where(status: 'scheduled').select {|op| op.jobs.empty?}.each {|op| op.error(:no_job,'operations scheduled without jobs') }

Steps to Reproduce

  1. Run any of the job listed in Summary & Context

Environment

Chrome

@rychen58 rychen58 added the bug Something isn't working label Feb 12, 2020
@bjkeller
Copy link
Collaborator

If there is an Aquarium bug here, it is that Aquarium let you do something that you should not have been able to do.

@rychen58 do you still have these frozen protocols?

@rychen58
Copy link
Author

Yes, these protocols are still frozen in Aquarium.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants