AllenNeuralDynamics / AllenNeuralDynamics/dynamic-foraging-data-cleanup

Make configurable different age limits for subfolders

Open
#1 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

In a data directory that looks like this:

Image

behavior-videos need to be deleted pretty much immediately, but "behavior" needs to stick around for a few days at least.

The config should have a dict like the below that allows different ages for subfolders.

```python
subfolder_age: dict = {
"behavior": 14,
"behavior-videos": 1,
}
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.