FullFact / health-misinfo-shared

Raphael health misinformation project, shared by Full Fact and Google
MIT License
0 stars 0 forks source link

wrong number of DF columns in fine-tuning #157

Closed c-j-johnston closed 3 months ago

c-j-johnston commented 3 months ago

Describe the bug

A DataFrame is created in fine tuning which sometimes has the "summary" column and sometimes doesn't. The code to drop this column was removed because it was assumed the column wasn't there, but it is and therefore we need to check if it exists and then drop it.

To Reproduce

Steps to reproduce the behaviour:

  1. Run Raphael locally.
  2. Check the terminal for the error.

Expected behaviour

Raphael to run without issue.