softwaresaved / rse-repo-analysis

Study of research software in repositories. Contact: @karacolada
BSD 3-Clause "New" or "Revised" License
11 stars 0 forks source link

Fix getting issues #19

Closed karacolada closed 1 year ago

karacolada commented 1 year ago

On the representative set, getting the issues throws an error on explode:

File "/home/eidf048/eidf048/kmoraw/rse-repo-analysis/github/crawl.py", line 293, in main
  crawl_repos(df, name, target_folder, verbose)
File "/home/eidf048/eidf048/kmoraw/rse-repo-analysis/github/crawl.py", line 283, in crawl_repos
  collect(g, repo_links, name, query_issues,
File "/home/eidf048/eidf048/kmoraw/rse-repo-analysis/github/crawl.py", line 223, in collect
  d = d.dropna().explode(cols_to_explode)
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/eidf048/eidf048/kmoraw/tools/miniconda3/envs/sw_mentions/lib/python3.11/site-packages/pandas/core/frame.py", line 9038, in explode
  raise ValueError("columns must have matching element counts")  
karacolada commented 1 year ago

Fixed!