Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix text2csv multiplelines #23

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

maelys-buhler
Copy link

@maelys-buhler maelys-buhler commented Apr 13, 2024

This is a proposition for a new version of the script that convert the data to csv.
The last version didn't work for questions where the question's text took more than one line.

This version add to the question's text all the line from the on that begins with #Q (included) to the one that begins with ^(excluded)
It uses the same mechanism for the question's answer and options, in case a question has answer that takes multiple lines.

It also change the name of the variable files to lines, as the previous name do not represent the actual content of the variable: The lines of the file.

Close #22

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Questions in multiple lines not working with the text2csv.py
1 participant