Skip to content

Commit

Permalink
Update 0_preprocessing_bis.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Bapfauvel committed Dec 22, 2024
1 parent 420d94a commit 82f1349
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion analysis/0_preprocessing_bis.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def osf_listfiles(data_subproject="", token="", after_date=None):
# Extract psychedelic data
psychedelic = data[
(data["stimulus"] == '<p style="font-size:18px; color:black;">Have you taken a psychedelic drug in the last 6 months? (E.g. LSD, psilocybin mushrooms, ayahuasca)</p>') |
(data["stimulus"] == '<p style="font-size:18px; color:black;">Have you ever taken any classical psychedelic substance (e.g. LSD, psilocybin mushrooms, ayahuasca) <b>in your life</b> ?</p>') |
(data["stimulus"] == '<p style="font-size:18px; color:black;">Have-you ever taken any classical psychedelic substance (e.g. LSD, psilocybin mushrooms, ayahuasca) <b>in your life</b> ?</p>') |
(data["stimulus"] == '<p style="font-size:18px; color:black;">Avez-vous déjà consommé une substance psychédélique au cours de votre vie (e.g., LSD, champignons à psilocybe, ayahuasca) ?</p>')
]
psychedelic_response = psychedelic["response"].values[0] if not psychedelic.empty else np.nan
Expand Down

0 comments on commit 82f1349

Please # to comment.