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

Add database command to remove dataruns #57

Open
bcyphers opened this issue Jan 15, 2018 · 6 comments
Open

Add database command to remove dataruns #57

bcyphers opened this issue Jan 15, 2018 · 6 comments

Comments

@bcyphers
Copy link
Contributor

bcyphers commented Jan 15, 2018

Right now, if you create a datarun with a typo or just decide you don't want to run it, there's no simple way to remove it from the database. We should add it as a subcommand to enter_data.py. Maybe:

python enter_data.py remove --datarun 1

likewise,

python enter_data.py remove --dataset 1
@bcyphers
Copy link
Contributor Author

Actually, there should be two different functions:

  1. one to delete a dataset or datarun and all associated data from the database, and
  2. one to finish a datarun prematurely, keeping its data but preventing worker.py from discovering it.

@jtanman
Copy link

jtanman commented Jan 24, 2018

Would it also be possible to add a way to continue a data run with a higher budget? For example running more iterations of a certain method that looked promising but using previous information about parameters or just wanting to continue searching.

@bcyphers
Copy link
Contributor Author

bcyphers commented Jan 24, 2018

@jtanman great suggestion. Yes, we can totally add that.

More generally, there should be an API in database.py for amending/updating datarun info.

@jtanman
Copy link

jtanman commented Jan 24, 2018

Awesome! Thanks a ton for the work on this by the way. I've been starting to use it, and it saves so much time!

@bcyphers bcyphers changed the title Add a way to remove dataruns Allow users to remove dataruns from the command line Feb 7, 2018
@micahjsmith micahjsmith changed the title Allow users to remove dataruns from the command line Add database command to remove dataruns Feb 19, 2019
@micahjsmith
Copy link
Member

This should be addressed by #82 and can be closed if so.

@beevabeeva
Copy link

beevabeeva commented Oct 8, 2019

Doesn't look like this was implemented. Definitely wasn't updated in docs (as far as I can tell).
This feature is actually essential for developers trying to implement custom classifiers, because testing becomes almost impossible when we have to manually kill ATM.

Edit:
To those facing the same problem I get around it by deleting atm.db.
This removes all previously created/halted dataruns.

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

No branches or pull requests

4 participants