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

Fixed the DOI exports #2058

Merged
merged 3 commits into from
Sep 21, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion multiqc/multiqc.py
Original file line number Diff line number Diff line change
Expand Up @@ -868,7 +868,7 @@ def __rich_measure__(self, console: rich.console.Console, options: rich.console.
report.data_sources_tofile()

# Create a file with the module DOIs
report.dois_tofile()
report.dois_tofile(report.modules_output)

if config.make_report:
# Compress the report plot JSON data
Expand Down
2 changes: 1 addition & 1 deletion multiqc/utils/report.py
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ def data_sources_tofile():
print(body.encode("utf-8", "ignore").decode("utf-8"), file=f)


def dois_tofile():
def dois_tofile(modules_output):
"""Find all DOIs listed in report sections and write to a file"""
# Collect DOIs
dois = {"MultiQC": ["10.1093/bioinformatics/btw354"]}
Expand Down
Loading