Skip to content

Conversation

@mgxd
Copy link
Contributor

@mgxd mgxd commented Nov 15, 2021

No description provided.

@mgxd mgxd force-pushed the fix/citation-tests branch 2 times, most recently from bd16269 to 3136c6a Compare November 15, 2021 19:09
@mgxd mgxd force-pushed the fix/citation-tests branch from 3136c6a to 384ba60 Compare November 15, 2021 19:21
@codecov
Copy link

codecov bot commented Nov 15, 2021

Codecov Report

Merging #83 (384ba60) into master (f035501) will increase coverage by 2.22%.
The diff coverage is 96.55%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #83      +/-   ##
==========================================
+ Coverage   87.55%   89.77%   +2.22%     
==========================================
  Files           5        5              
  Lines         217      225       +8     
==========================================
+ Hits          190      202      +12     
+ Misses         27       23       -4     
Flag Coverage Δ
api 89.77% <96.55%> (+2.22%) ⬆️
config 57.33% <51.72%> (+2.49%) ⬆️
datalad 80.44% <79.31%> (+1.64%) ⬆️
dls3 58.66% <65.51%> (?)
s3 61.77% <65.51%> (+2.33%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
templateflow/api.py 79.54% <94.11%> (+2.27%) ⬆️
templateflow/conf/__init__.py 93.65% <100.00%> (+4.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 7ba698d...384ba60. Read the comment docs.

@mgxd mgxd merged commit f868563 into templateflow:master Nov 15, 2021
@mgxd mgxd deleted the fix/citation-tests branch November 15, 2021 19:48
@mgxd
Copy link
Contributor Author

mgxd commented Nov 15, 2021

actually before releasing, I'd like to ensure this was the intended behavior (cc @oesteban)

\tauthor = {Vladimir Fonov and Alan C. Evans and Kelly Botteron and C. Robert \
Almli and Robert C. McKinstry and D. Louis Collins},
\ttitle = {Unbiased average age-appropriate atlases for pediatric studies},
\tjournal = {{NeuroImage}}
Copy link
Member

Choose a reason for hiding this comment

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

I'm a little nervous that doi.org are changing their responses. They used to generate Lastname_year identifiers, and now these seem to be only year.

We probably can have a regexp to override whatever ID they generate to the template name.

However, I'm less happy with the references not having a journal entry. Before we go ahead we need to understand why these are changing.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, looking more into it, it does seem like a bug. Looks like crossref should have a fix out today, dunno if doi.org will follow suit but we could always switch over to crossref since they have an API as well.

https://gitlab.com/crossref/issues/-/issues/1540

Copy link
Member

Choose a reason for hiding this comment

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

doi.org just redirects POST requests over to crossref

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.

2 participants