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

Data Manager runs are not idempotent #15188

Open
natefoo opened this issue Dec 12, 2022 · 0 comments
Open

Data Manager runs are not idempotent #15188

natefoo opened this issue Dec 12, 2022 · 0 comments

Comments

@natefoo
Copy link
Member

natefoo commented Dec 12, 2022

Describe the bug
If I run a data manager twice with the same inputs, the data manager is run twice, with the new data potentially (depending on the DM) overwriting the old, but with a new entry added to the location file.

Galaxy Version and/or server at which you observed the bug
Galaxy Version: all

To Reproduce
Steps to reproduce the behavior:

  1. Install fetch_genome_all_fasta_dbkeys
  2. Use the new DM to install a genome sequence.
  3. Repeat the previous step.
  4. The genome is overwritten in tool-data and two entries are added to all_fasta.loc.

Expected behavior
Either the new run overwrites the old one without adding a duplicate entry to the location file, or the DM refuses to run.

Screenshots

Additional context
This makes using the Ephemeris run-data-managers command idempotently or from a script more complicated.

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

2 participants