superphy / spfy

Spfy: an integrated graph database for real-time prediction of Escherichia coli phenotypes and downstream comparative analyses
https://lfz.corefacility.ca/superphy/grouch/
Apache License 2.0
4 stars 2 forks source link

check rq difference between "not found" and "error" #281

Closed kevinkle closed 6 years ago

kevinkle commented 6 years ago

This would fix the weirdness with error checking introduced in 6.2.0

kevinkle commented 6 years ago

https://github.com/superphy/spfy/pull/282 only addresses timings

kevinkle commented 6 years ago

Bypassing this. Our custom fetch_job() func will return a mock job with the following if the job has completed but is no longer found. rq_job.is_failed == True and rq_job.exc_info == 'job not found'

kevinkle commented 6 years ago

This is no longer relevant with the new Pipeline class as of https://github.com/superphy/spfy/releases/tag/v6.2.1