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

Adding delete feature to script #282

Open
deming7h777 opened this issue May 13, 2019 · 2 comments
Open

Adding delete feature to script #282

deming7h777 opened this issue May 13, 2019 · 2 comments
Assignees

Comments

@deming7h777
Copy link
Contributor

deming7h777 commented May 13, 2019

ideal command :
python manage.py delete [organism]
python manage.py delete [blastdb]
python manage.py delete [hmmerdb]

advanced :
delete multiple db or species in the same time
python manage.py delete [organism1] [organism2] . . .
python manage.py delete [blastdb1] [blastdb2] . . .

another delete command:
python manage.py delete -org [organism1]
python manage.py delete -b [blastdb1]
python manage.py delete -h [hmmerdb1]

advanced command:
python manage.py delete -org [org1] [org2] . . .
python manage.py delete -b [blastdb1] [blastdb2] . . .
python manage.py delete -h [hmmerdb1] [hmmerdb2] . . .


When the species is deleted, the cascade field and data should be deleted at the same time.
As same as the situation of species, it should deletes the cascading table when blastdb and hmmerdb be deleted but not the species.

@deming7h777 deming7h777 self-assigned this May 13, 2019
@deming7h777
Copy link
Contributor Author

The delete feature is complete and now working on advanced feature that can deal with multiple input

@deming7h777
Copy link
Contributor Author

need to combine the string for each " for loop " but it successfully delete the every item from input

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