"cleanup" is implemented twice

Create issue
Issue #213 closed
Erik Schnetter created an issue

The functions command_cleanup and CleanupRestarts are very similar. One of them should probably call the other.


Comments (2)

  1. anonymous
    • changed status to resolved
    • removed comment

    these are different enough in functionality. I'm not going to change this. CleanupRestarts operates in a non-interactive mode, getting a list of all simulations, and all restarts from each simulation, and attempts to clean each of these up. command_cleanup allows the specification of certain simulations, with certain restarts. The duplicate code is only about two lines.

  2. Log in to comment