Skip to content

Conversation

@njmei
Copy link
Contributor

@njmei njmei commented Jun 11, 2020

This is the PR for version 2.1.0 which has a tentative release date of ~6/25/20.

@codecov-commenter
Copy link

codecov-commenter commented Jun 11, 2020

Codecov Report

Merging #1618 into master will increase coverage by 0.07%.
The diff coverage is 98.18%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1618      +/-   ##
==========================================
+ Coverage   35.58%   35.65%   +0.07%     
==========================================
  Files         344      345       +1     
  Lines       33568    33612      +44     
==========================================
+ Hits        11946    11986      +40     
- Misses      21622    21626       +4     
Impacted Files Coverage Δ
...avior/behavior_ophys_api/behavior_ophys_nwb_api.py 58.06% <50.00%> (-0.09%) ⬇️
allensdk/__init__.py 68.96% <100.00%> (ø)
.../brain_observatory/behavior/stimulus_processing.py 26.19% <100.00%> (ø)
...hys/ecephys_session_api/ecephys_nwb_session_api.py 74.37% <100.00%> (+0.66%) ⬆️
allensdk/brain_observatory/nwb/__init__.py 88.98% <100.00%> (+0.71%) ⬆️
allensdk/brain_observatory/nwb/nwb_utils.py 100.00% <100.00%> (ø)
allensdk/internal/api/ophys_lims_api.py 33.14% <0.00%> (-1.69%) ⬇️
allensdk/internal/api/behavior_data_lims_api.py 52.80% <0.00%> (ø)
...ys/ecephys_project_api/ecephys_project_lims_api.py 89.33% <0.00%> (ø)

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 4168859...79138f4. Read the comment docs.

pickles-bread-and-butter and others added 18 commits June 26, 2020 13:47
Update rc 2 1 to be current with master
Updated from using OphysLimsApi constructor in parametrization, it was causing a failure while collecting tests.
On my windows machine these tests fail as a result of the Postgresquery mixin and being unable to grab env variables for databases. I added in a DbCredentials namedtuple object to the failing tests to give false credentials so that the constructor no longer fails and tests run as expected.
Failing tests in AllenSDK caused by no env variables set
This is a combination of 2 commits:

1) Add warning if loading outdated Visual Coding Neuropixels nwb files

2) Move check_nwbfile_version and make more generically usable
…ning

Add warning if loading outdated Visual Coding Neuropixels nwb files
Scipy 1.5.0 fixed a ks_2samp bug that resulted in incorrect p-values
being reported. This change was picked up by our brain observatory analysis
regression tests.

This commit updates the expected output file's Kolmogorov Smirnov
test p-values so that they reflect the correct values returned by
the most up to date ks_2samp implementation.
…ld-failure

Update regression test affected by updated scipy ks_2samp function
This has been inserted as a place for Visual Behavior Scientists to add definitions that they think will benefit end user understanding.
Keys for the name of stimulus are different between eceephys and behavior ophys.
This adds in a small function to get the key represented in each data type and
raise an exception if one key is not found. This was added to allow ophys
behavior experiments to write to nwb files.
I updated the function to be more generic and removed specific case verbaige. I also fixed the failing tests on Linux and Mac. The regex for the tests was returning an error on Linux and Mac.
Updated the Docstring to better capture the puprose of the function. This better aligns with the expectation of functional performance.
* Added function to set the stop_time for omitted stimuli for writing NWB

This function had to be added as the omitted stimuli did not by design
have an ending timestamp. These stimuli therfore could not be written to
NWB files as the interval data object in PyNWB requires an ending time.
This commit adds a function that adds a stop_time to a omitted row that
is based off the known time that omitted stimuli are shown. This allows
for omitted stimuli types to be written to NWB intervals.

* Added doc strings to stimulus_presentations.py

I added documentation for the functions in stimulus_presentations.py that I have touched during investigation. These functions are get_stimulus_presentations and get_visual_stimuli_df. I added doc strings to better explain what is happening in the code.
* Added column name exceptions from column creation

Behavior Ophys NWB files were erroring because a column of name
'image_mask' already existed in the PlaneSegmentation NWB NWB object.
These columns are initilized by the PlaneSegmentation object on creation
and do not need to be added during writing. These column names were
added to the list of column exceptions as they already exist. This
allows NWB files to be written for Behavior Ophys experiments. Also added
descriptions  for the columns written to the NWB file in the cell specimen table.
…WB-failures

Address behavior ophys nwb failures from unpinning PyNWB, these have already been reviewed by @njmei in the individual pull requests.
…tud_for_visual_behavior_definitions

Create Stub for Visual Behavior Definitions
@pickles-bread-and-butter
Copy link
Contributor

pickles-bread-and-butter commented Jul 16, 2020

This is the release candidate for release 2.1.0, tentatively slated for release on July 16th 2020. All new features should target this branch (bugfixes ought to instead target master).

Please see the confluence guide for more information on the release process.

before merge

merge!

  • merge rc/x.y.z -> master

after merge

Updated index.rst with release information for AllenSDK v2.1.0.
Updated changelog to reflect changes coming in AllenSDK 2.1.0
@pickles-bread-and-butter pickles-bread-and-butter merged commit 7e60bc5 into master Jul 17, 2020
@wbwakeman wbwakeman added the noprogram not directly related to an Insitute program label Aug 31, 2020
@djkapner djkapner deleted the rc/2.1.0 branch October 9, 2020 19:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

noprogram not directly related to an Insitute program

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants