Skip to content

Commit e20a5fd

Browse files
authored
Update cumulative.py (#41)
1 parent 029ade7 commit e20a5fd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/clone-tracking/cumulative.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
def main(folder):
1010
"""Combine cumulative statistics for all repositories into a single file."""
1111
repo_wise_cumulative_files = sorted(
12-
glob(os.path.join(folder, "ReproBrainChart_*_cumulative.csv"))
12+
glob(os.path.join(folder, "ReproBrainChart_*_cum_clones.csv"))
1313
)
1414
dfs = []
1515
for file_ in repo_wise_cumulative_files:
16-
repo_name = os.path.basename(file_).split("_cumulative")[0]
16+
repo_name = os.path.basename(file_).split("_cum_clones")[0]
1717
repo_name = repo_name.replace("_", "/", 1)
1818
df = pd.read_csv(file_, index_col="date")
1919
df = df.rename({"clone_count": repo_name}, axis=1)

0 commit comments

Comments
 (0)