We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 029ade7 commit e20a5fdCopy full SHA for e20a5fd
scripts/clone-tracking/cumulative.py
@@ -9,11 +9,11 @@
9
def main(folder):
10
"""Combine cumulative statistics for all repositories into a single file."""
11
repo_wise_cumulative_files = sorted(
12
- glob(os.path.join(folder, "ReproBrainChart_*_cumulative.csv"))
+ glob(os.path.join(folder, "ReproBrainChart_*_cum_clones.csv"))
13
)
14
dfs = []
15
for file_ in repo_wise_cumulative_files:
16
- repo_name = os.path.basename(file_).split("_cumulative")[0]
+ repo_name = os.path.basename(file_).split("_cum_clones")[0]
17
repo_name = repo_name.replace("_", "/", 1)
18
df = pd.read_csv(file_, index_col="date")
19
df = df.rename({"clone_count": repo_name}, axis=1)
0 commit comments