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

Remove jobs from project #13

Open
yocra3 opened this issue Feb 17, 2021 · 0 comments
Open

Remove jobs from project #13

yocra3 opened this issue Feb 17, 2021 · 0 comments

Comments

@yocra3
Copy link

yocra3 commented Feb 17, 2021

Hi,

I have created a list of jobs inside a project. However, the first time I launched the jobs, I got an error and I removed all the jobs from the server. Therefore, now I have a project that contains non-existing jobs and completed jobs.

If I try to download to project:

imputationbot download Obesity

Error: 404 - Job 'job-20210216-060005-122' not found.

I got a similar error if I try to list the jobs of my project:

imputationbot jobs Obesity

Error: 404 - Job 'job-20210216-060005-122' not found.

Only when I list the projects, I can see the full list of jobs:

imputationbot projects                                                                                                                                    
                                                                                                                                                                                                           
imputation-bot 0.9.3 🤖                                                                                                                                                                                    
https://imputationserver.sph.umich.edu                                                                                                                                                                     
(c) 2019-2020 Lukas Forer, Sebastian Schoenherr and Christian Fuchsberger                                                                                                                                  
Built by lukas on 2020-12-13T13:20:02Z                                                                                                                                                                     
                                                                                                                                                                                                           
╔═════════╤══════════════════════════════╤═════════════════════════╗                                                                                                                                       
║ Name    │ Created At                   │ Jobs                    ║                                                                                                                                       
╠═════════╪══════════════════════════════╪═════════════════════════╣                                                                                                                                       
║ Obesity │ Tue Feb 16 11:44:10 CET 2021 │ job-20210216-060005-122 ║                                                                                                                                       
║         │                              │ job-20210216-060231-893 ║                                                                                                                                       
║         │                              │ job-20210216-060427-344 ║                                                                                                                                       
║         │                              │ job-20210216-060623-026 ║                                                                                                                                       
║         │                              │ job-20210217-033030-093 ║                                                                                                                                       
║         │                              │ job-20210217-033245-432 ║                                                                                                                                       
║         │                              │ job-20210217-033440-430 ║                                                                                                                                       
║         │                              │ job-20210217-040624-112 ║                                                                                                                                       
║         │                              │ job-20210217-042407-895 ║      
║         │                              │ job-20210217-042605-608 ║
║         │                              │ job-20210217-050119-513 ║
╚═════════╧══════════════════════════════╧═════════════════════════╝

Could you allow to remove old/non-existing jobs from a project? At least, could it be possible to download the available jobs from the server and change the error to a warning?

Thanks,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant