Skip to content

Commit

Permalink
Finish splitting things up.
Browse files Browse the repository at this point in the history
  • Loading branch information
tsalo committed Aug 8, 2022
1 parent 64d47d9 commit aab1cdf
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
7 changes: 6 additions & 1 deletion docs/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,12 @@ API
:toctree: generated/
:template: function.rst

tedana.bibtex.
tedana.bibtex.find_braces
tedana.bibtex.reduce_idx
tedana.bibtex.index_bibtex_identifiers
tedana.bibtex.find_citations
tedana.bibtex.reduce_references
tedana.bibtex.get_description_references


.. _api_utils_ref:
Expand Down
2 changes: 2 additions & 0 deletions tedana/bibtex.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
import numpy as np
import pandas as pd

from tedana.utils import get_resource_path

LGR = logging.getLogger("GENERAL")
RepLGR = logging.getLogger("REPORT")

Expand Down
2 changes: 0 additions & 2 deletions tedana/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,9 @@
"""
import logging
import os.path as op
import re

import nibabel as nib
import numpy as np
import pandas as pd
from nilearn._utils import check_niimg
from scipy import ndimage
from sklearn.utils import check_array
Expand Down
3 changes: 2 additions & 1 deletion tedana/workflows/tedana.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
selection,
utils,
)
from tedana.bibtex import get_description_references
from tedana.stats import computefeats2
from tedana.workflows.parser_utils import check_tedpca_value, is_valid_file

Expand Down Expand Up @@ -837,7 +838,7 @@ def tedana_workflow(
fo.write(report)

# Collect BibTeX entries for cited papers
references = utils.get_description_references(report)
references = get_description_references(report)

with open(bibtex_file, "w") as fo:
fo.write(references)
Expand Down

0 comments on commit aab1cdf

Please sign in to comment.