Skip to content

Commit

Permalink
Hotfix for encoding the OSF import tables
Browse files Browse the repository at this point in the history
  • Loading branch information
caggursoy committed Mar 12, 2024
1 parent a489f4d commit 0f27d5d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion auto/autoConv.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import pandas as pd
url="https://github.com/raw/IGOR-bioDGPs/ARIADNE/master/testbook/data/data_ariadne_nodes.csv"
df_csv = pd.read_csv(url, on_bad_lines='skip', delimiter=';')
df_csv = pd.read_csv(url, on_bad_lines='skip', delimiter=';', encoding = "ISO-8859-1")
# Select four columns
selected_columns = df_csv.loc[:, ['id', 'mainGraph', 'subgraph', 'href', 'descr']]
selected_columns.dropna(inplace=True)
Expand Down
1 change: 1 addition & 0 deletions testbook/data/data_ariadne_nodes.csv
Original file line number Diff line number Diff line change
Expand Up @@ -311,3 +311,4 @@ Mastodon;Mastodon;ellipse;#D41159;white;3;SocialMedia;Dissemination;yes;https://
TikTok;TikTok;ellipse;#D41159;white;3;SocialMedia;Dissemination;yes;https://www.tiktok.com/en/;https://www.tiktok.com/en/;TikTok is a social media platform that allows users to create and share short videos set to music or other audio, known for its popularity among younger generations.
Instagram;Instagram;ellipse;#D41159;white;3;SocialMedia;Dissemination;yes;https://www.instagram.com/;https://www.instagram.com/;Instagram is a photo and video sharing social media platform that enables users to upload, edit, and share visual content with their followers.
YouTube;YouTube;ellipse;#D41159;white;3;SocialMedia;Dissemination;yes;https://www.youtube.com/;https://www.youtube.com/;YouTube is a video-sharing platform where users can upload, watch, and interact with a wide variety of videos, spanning from entertainment to education.
test;test;;;;;;;;;;

0 comments on commit 0f27d5d

Please sign in to comment.