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

Fixed bug requiring additional IDs for BehaviorDataLimsApi #1374

Merged
merged 2 commits into from
Feb 24, 2020

Conversation

pickles-bread-and-butter
Copy link
Contributor

Previously BehaviorDataLimsApi would raise an exception if no container id
was returned from lims id for given ophys id. This has been changed at
allenskd/internal/api/behavior_data_lims_api.py 105 - 108. Now the query will
return None for the container id if the query results in an empty list return.
Resolves: #1354

Previously BehaviorDataLimsApi would raise an exception if no container id
was returned from lims id for given ophys id. This has been changed at
allenskd/internal/api/behavior_data_lims_api.py 105 - 108. Now the query will
return None for the container id if the query results in an empty list return.
Resolves: #1354
@codecov-io
Copy link

codecov-io commented Feb 20, 2020

Codecov Report

Merging #1374 into rc/1.5.0 will decrease coverage by <.01%.
The diff coverage is 0%.

Impacted file tree graph

@@             Coverage Diff              @@
##           rc/1.5.0    #1374      +/-   ##
============================================
- Coverage     34.55%   34.54%   -0.01%     
============================================
  Files           342      342              
  Lines         33250    33255       +5     
============================================
  Hits          11488    11488              
- Misses        21762    21767       +5
Impacted Files Coverage Δ
allensdk/internal/api/behavior_data_lims_api.py 52.84% <0%> (-1.55%) ⬇️

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 6a647ad...08808db. Read the comment docs.

@kschelonka
Copy link
Contributor

Also please update to return None instead of an empty list if there are no ophys_experiment_ids.

Copy link
Contributor

@kschelonka kschelonka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🍡

@pickles-bread-and-butter pickles-bread-and-butter changed the base branch from rc/1.5.0 to rc/1.6.0 February 24, 2020 16:43
@pickles-bread-and-butter pickles-bread-and-butter merged commit 7fa1de9 into rc/1.6.0 Feb 24, 2020
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.

3 participants