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.
2 parents 69f3b71 + efc48ea commit d96d8bbCopy full SHA for d96d8bb
src/harmony/parsing/excel_parser.py
@@ -123,7 +123,7 @@ def convert_excel_to_instruments(file: RawFile) -> List[Instrument]:
123
valid_questions = df_questions["question"].dropna()
124
valid_questions = [q for q in valid_questions if isinstance(q, str) and q.strip()]
125
if valid_questions:
126
- language = detect(" ".join(df_questions["question"]))
+ language = detect(" ".join(valid_questions))
127
except:
128
print("Error identifying language in Excel file")
129
traceback.print_exc()
0 commit comments