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

Ingest Rev API Text #558

Merged
merged 6 commits into from May 14, 2019
Merged

Ingest Rev API Text #558

merged 6 commits into from May 14, 2019

Conversation

adelavega
Copy link
Collaborator

  • Minor changes to successfully import files from Rev API.
  • Extract more text related features.

@adelavega adelavega marked this pull request as ready for review May 11, 2019 17:14
@codecov-io
Copy link

codecov-io commented May 11, 2019

Codecov Report

Merging #558 into master will decrease coverage by 0.08%.
The diff coverage is 78.57%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #558      +/-   ##
==========================================
- Coverage   84.59%   84.51%   -0.09%     
==========================================
  Files          39       39              
  Lines        1675     1679       +4     
==========================================
+ Hits         1417     1419       +2     
- Misses        258      260       +2
Impacted Files Coverage Δ
neuroscout/populate/convert.py 86.13% <78.57%> (-1.5%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0bfb2a7...3f46a2a. Read the comment docs.

@adelavega
Copy link
Collaborator Author

After looking at the fourth run transcripts, I think I will try to force align it with manually given time stamps, as the transcript is mostly good.

Also worth checking the other 3 runs carefully.

@adelavega
Copy link
Collaborator Author

Okay, that was a pain but it is done,.

@adelavega adelavega merged commit 62c9058 into master May 14, 2019
@adelavega adelavega deleted the fix/ingest_text branch May 14, 2019 23:25
@adelavega
Copy link
Collaborator Author

To add some documentation. To get the transcripts from rev-api, use my fork: https://github.com/adelavega/rev-api

and get orders using:

client.get_orders_page()
client.save_order_transcripts(order_number, format='tsv', base_path='/path/to/folder')

These transcripts can then be ingested into neuroscout using:
ingest_text_stimuli

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.

None yet

2 participants