-
Notifications
You must be signed in to change notification settings - Fork 95
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
[REF] Replace duecredit with BibTeX #875
Conversation
Codecov Report
@@ Coverage Diff @@
## main #875 +/- ##
==========================================
+ Coverage 93.26% 93.28% +0.02%
==========================================
Files 27 28 +1
Lines 2315 2337 +22
==========================================
+ Hits 2159 2180 +21
- Misses 156 157 +1
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
@eurunuela this PR is now ready for review, if you have the time for it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great. Thank you @tsalo!
I built the docs on my computer and the references look perfect.
I guess my only question is regarding GitHub's supported citations. Is that something we have to do once the PR is merged?
Sorry, what do you mean by "GitHub's supported citations"? Do you mean the "Cite this repository" option available when repositories have a CFF file? |
Sorry, yes. That's what I was referring to. |
We can tackle that in a separate PR. We can add the CFF file with the JOSS paper citation, but I'm still concerned about getting folks to cite individual releases' Zenodo DOIs. The two problems are (1) CFF can support multiple citations, but will only show one of them to users on GitHub, and (2) the Zenodo DOI is minted after the release is made, so any code in tedana will only reflect the previous release. This PR doesn't address the second problem, but it does let us put as many references as we want in the reports (as we already do), so we could have both the JOSS and Zenodo citations in the boilerplate. |
I haven't had a chance to do an in depth look at this so maybe I'm completely missing the mark...but before I forget: I looked at the docs generated for this PR and |
I forgot about the docs. Thanks for catching that! I've removed all mentions of duecredit. |
Good catch @dowdlelt! I missed it too. |
This looks good, but could we move all of the bibtex utils into a new file, perhaps |
@jbteves that's a great idea. I think everything should now be sufficiently separated. |
I'm biased because it's my idea but looks good to me 😉 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thank you @tsalo
Thanks all! Merging now. |
Closes #873.
Changes proposed in this pull request:
duecredit
as a dependency and remove all due decorators.RefLGR
and have BibTeX citations in theRepLGR
strings.We still need to figure out how to load the references BibTeX file, select the references that are actually used in the report string, and output those to the report.Done!