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

Change of the checkbox_to_dict() function to allow multiselect choice in ElabFTW #63

Merged
merged 4 commits into from
Feb 22, 2023

Conversation

killianrochet
Copy link
Collaborator

Hello, @JuliaSprenger, @SylvainTakerkart !

Here are the necessary modifications to allow the resolution of the issue #61

The addition of the multiselect option replaces the checkbox principle.

The goal is for a user to be able to select several choices.

checkbox_to_multiselect_dict() allows to take a CSV checkbox to transform it into a JSON multiselect understandable by ElabFTW
@JuliaSprenger JuliaSprenger added the safe to test Required label for GH action to run testsuite label Feb 6, 2023
@killianrochet
Copy link
Collaborator Author

killianrochet commented Feb 22, 2023

@JuliaSprenger I have just redone the tests and indeed
json.dumps(temp_elab_dict[redcap_field_dict['Field Label']])
it does not bring anything. I thought I had put it there to get a lowercase t but it is useless

@killianrochet killianrochet marked this pull request as ready for review February 22, 2023 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
safe to test Required label for GH action to run testsuite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants