-
Notifications
You must be signed in to change notification settings - Fork 7
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
Web changes for NWB conversion #344
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! Follow up with Mike to decide on what to do for the URL/domain stuff
@@ -40,6 +40,11 @@ <h3 class="benefits_heading is-size-3-mobile">Welcome, {{ user.email }}</h3> | |||
</p> | |||
</div> | |||
{% endfor %} | |||
<div class="box"> | |||
<p class="benefits_info is-size-5-mobile"> | |||
Convert NWB data to a BrainScore data plugin <a href="https://{{ request.get_host }}/profile/nwb">here</a>. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be a domain-specific button/address? For example, submission is at http://{{ request.get_host }}/profile/{{ domain }}/submit
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Leave as is for now, look for a place to add a disclaimer that this is only for vision
<br> | ||
|
||
<p>Download a template JSON file below and fill in the required values.</p> | ||
<a href="{% static "benchmarks/example_json.json" %}" class="button button-primary" download> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Love this!
@@ -43,6 +43,7 @@ | |||
path('profile/submit/', user.Upload.as_view(domain="vision"), name=f'vision-submit'), | |||
path('profile/resubmit/', partial(user.resubmit, domain="vision"), name='vision-resubmit'), | |||
path('profile/logout/', user.Logout.as_view(domain="vision"), name='vision-logout'), | |||
path('profile/nwb/', user.ConvertNWB.as_view(domain="vision"), name=f'convert-nwb'), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mike-ferguson to double check domain-specific url approach
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mike-ferguson just checking if the endpoint is good as is or if it should be profile/vision/nwb/?
static/benchmarks/example_json.json
Outdated
{ | ||
"dandiset_id": "000788", | ||
"nwb_file_path": "sub-pico/sub-pico_ecephys.nwb", | ||
"exp_path": "/home/ubuntu/vision/brainscore_vision/nwb_integration/", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note to remove
@@ -0,0 +1,17 @@ | |||
{ | |||
"dandiset_id": "000788", | |||
"nwb_file_path": "sub-pico/sub-pico_ecephys.nwb", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note to change values to descriptors
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! A few small formatting changes, but great work overall.
Co-authored-by: deirdre-k <[email protected]>
Co-authored-by: Michael Ferguson <[email protected]>
Co-authored-by: Michael Ferguson <[email protected]>
Co-authored-by: Michael Ferguson <[email protected]>
Co-authored-by: Michael Ferguson <[email protected]>
No description provided.