Replace AssertionErrors with more meaningful errors
CONTRIBUTOR
Hi, can I pick up this issue?
2022-10-05T14:20:16Z
https://github.com/huggingface/datasets/issues/5074#issuecomment-1268503200
https://api.github.com/repos/huggingface/datasets/issues/5074
IC_kwDODunzps5Lm9Kg
https://api.github.com/repos/huggingface/datasets/issues/comments/1268503200/reactions
2022-10-05T14:20:16Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1268503200
https://avatars.githubusercontent.com/u/20004072?v=4
https://api.github.com/users/galbwe/events{/privacy}
https://api.github.com/users/galbwe/followers
https://api.github.com/users/galbwe/following{/other_user}
https://api.github.com/users/galbwe/gists{/gist_id}
https://github.com/galbwe
galbwe
MDQ6VXNlcjIwMDA0MDcy
https://api.github.com/users/galbwe/orgs
https://api.github.com/users/galbwe/received_events
https://api.github.com/users/galbwe/repos
https://api.github.com/users/galbwe/starred{/owner}{/repo}
https://api.github.com/users/galbwe/subscriptions
User
https://api.github.com/users/galbwe
public
CONTRIBUTOR
#self-assign
2022-10-05T14:22:02Z
https://github.com/huggingface/datasets/issues/5074#issuecomment-1268505648
https://api.github.com/repos/huggingface/datasets/issues/5074
IC_kwDODunzps5Lm9ww
https://api.github.com/repos/huggingface/datasets/issues/comments/1268505648/reactions
2022-10-05T14:22:02Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1268505648
https://avatars.githubusercontent.com/u/20004072?v=4
https://api.github.com/users/galbwe/events{/privacy}
https://api.github.com/users/galbwe/followers
https://api.github.com/users/galbwe/following{/other_user}
https://api.github.com/users/galbwe/gists{/gist_id}
https://github.com/galbwe
galbwe
MDQ6VXNlcjIwMDA0MDcy
https://api.github.com/users/galbwe/orgs
https://api.github.com/users/galbwe/received_events
https://api.github.com/users/galbwe/repos
https://api.github.com/users/galbwe/starred{/owner}{/repo}
https://api.github.com/users/galbwe/subscriptions
User
https://api.github.com/users/galbwe
public
CONTRIBUTOR
Looks like the top-level `datasource` directory was removed when https://github.com/huggingface/datasets/pull/4974 was merged, so there are 3 source files to fix.
2022-10-06T01:42:43Z
https://github.com/huggingface/datasets/issues/5074#issuecomment-1269198225
https://api.github.com/repos/huggingface/datasets/issues/5074
IC_kwDODunzps5Lpm2R
https://api.github.com/repos/huggingface/datasets/issues/comments/1269198225/reactions
2022-10-06T01:49:25Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1269198225
https://avatars.githubusercontent.com/u/20004072?v=4
https://api.github.com/users/galbwe/events{/privacy}
https://api.github.com/users/galbwe/followers
https://api.github.com/users/galbwe/following{/other_user}
https://api.github.com/users/galbwe/gists{/gist_id}
https://github.com/galbwe
galbwe
MDQ6VXNlcjIwMDA0MDcy
https://api.github.com/users/galbwe/orgs
https://api.github.com/users/galbwe/received_events
https://api.github.com/users/galbwe/repos
https://api.github.com/users/galbwe/starred{/owner}{/repo}
https://api.github.com/users/galbwe/subscriptions
User
https://api.github.com/users/galbwe
public
Replace the AssertionErrors with more meaningful errors such as ValueError, TypeError, etc.

The files with AssertionErrors that need to be replaced:
```
src/datasets/arrow_reader.py
src/datasets/builder.py
src/datasets/utils/version.py
```