Closed dougollerenshaw closed 3 years ago
When l run the following code block:
from visual_behavior.data_access import utilities from visual_behavior.data_access import loading experiment_table = loading.get_filtered_ophys_experiment_table(release_data_only=True).reset_index() ophys_experiment_id = experiment_table.sample(random_state = 1).iloc[0]['ophys_experiment_id'] session = loading.get_ophys_dataset(ophys_experiment_id) lick_groom_preds = session.behavior_movie_predictions.copy()
I get the following in my jupyter output: It's overwhelming when running in a loop.
I've been able to isolate at least two of the warning outputs to this line: https://github.com/AllenInstitute/visual_behavior_analysis/blob/3d23e2abf1a93d58102834c7d5d366f9b29a8b80/visual_behavior/data_access/loading.py#L421 But I'm not sure why I see a total of 8 warnings, and I also don't know why I get the statement resampling mesoscope 2P frame times printed four times.
resampling mesoscope 2P frame times
fixed in PR #749
When l run the following code block:
I get the following in my jupyter output: It's overwhelming when running in a loop.
I've been able to isolate at least two of the warning outputs to this line: https://github.com/AllenInstitute/visual_behavior_analysis/blob/3d23e2abf1a93d58102834c7d5d366f9b29a8b80/visual_behavior/data_access/loading.py#L421 But I'm not sure why I see a total of 8 warnings, and I also don't know why I get the statement
resampling mesoscope 2P frame times
printed four times.