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

[FIX] Fixes logger error w/reports #192

Merged
merged 1 commit into from
May 31, 2021
Merged

[FIX] Fixes logger error w/reports #192

merged 1 commit into from
May 31, 2021

Conversation

rmarkello
Copy link
Owner

When calling abagen.get_expression_data() with return_report=True and verbose=True there was an error in the log. The returned reports were accurate (phew), but because we were calling images.coerce_atlas_to_dict() multiple times the logger was being called multiple times and therefore reporting (inconsistently) what type of atlas was being used (MNI vs donor-specific). This clears that up.

The returned reports were true but because we were calling
images.coerce_atlas_to_dict() multiple times the logger was being
called multiple times to report what type of atlas was provided.
@codecov
Copy link

codecov bot commented May 31, 2021

Codecov Report

Merging #192 (0f95267) into main (ce39488) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #192   +/-   ##
=======================================
  Coverage   95.09%   95.10%           
=======================================
  Files          41       41           
  Lines        3264     3270    +6     
=======================================
+ Hits         3104     3110    +6     
  Misses        160      160           
Impacted Files Coverage Δ
abagen/images.py 95.67% <100.00%> (+0.02%) ⬆️
abagen/reporting.py 70.46% <100.00%> (+0.78%) ⬆️

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 ce39488...0f95267. Read the comment docs.

@rmarkello rmarkello merged commit f8484fe into main May 31, 2021
@rmarkello rmarkello deleted the fix/reporting_lgr branch May 31, 2021 17:35
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.

1 participant