Closed jonahweissman closed 2 years ago
the fetch functionality seems to correctly detect when the target already exists: https://github.com/melizalab/neurobank/blob/eb39a2b446d45c9440794bf3f4835582235ab819/nbank/script.py#L426-L432
But it doesn't exit the script. Instead, it just downloads the neurobank resource on top of the existing file, which is functionally the same behavior as the --force flag.
the fetch functionality seems to correctly detect when the target already exists: https://github.com/melizalab/neurobank/blob/eb39a2b446d45c9440794bf3f4835582235ab819/nbank/script.py#L426-L432
But it doesn't exit the script. Instead, it just downloads the neurobank resource on top of the existing file, which is functionally the same behavior as the --force flag.