diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index fa200d1..57cccfe 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -35,7 +35,7 @@ jobs: cd docs make html - name: Upload docs - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v4 with: name: docs path: docs/_build/html diff --git a/.github/workflows/publish-to-test-pypi.yml b/.github/workflows/publish-to-test-pypi.yml index 391fb42..f570479 100644 --- a/.github/workflows/publish-to-test-pypi.yml +++ b/.github/workflows/publish-to-test-pypi.yml @@ -13,10 +13,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - name: Set up Python 3.7 - uses: actions/setup-python@v1 + - name: Set up Python 3.10 + uses: actions/setup-python@v5 with: - python-version: 3.7 + python-version: "3.10" - name: Install pep517 run: >- python -m diff --git a/afqbrowser/browser.py b/afqbrowser/browser.py index 58d68d9..1158579 100644 --- a/afqbrowser/browser.py +++ b/afqbrowser/browser.py @@ -76,7 +76,8 @@ def _extract_params(afq): def _create_metadata(subject_ids, meta_fname): """Helper function to create a minimal metadata file.""" - meta_df = pd.DataFrame({"subjectID": subject_ids}, index=range(len(subject_ids))) + meta_df = pd.DataFrame({"subjectID": subject_ids}, + index=range(len(subject_ids))) meta_df.to_csv(meta_fname) @@ -176,7 +177,7 @@ def _validate(nodes_fname, meta_fname, streamlines_fname): meta_df = pd.read_csv(meta_fname) - # check subjcts consistent + # check subjects consistent if "subjectID" not in meta_df.columns: validation_errors.append( ValueError("Metadata file missing required column: subjectID") diff --git a/docs/index.rst b/docs/index.rst index 321e30c..17ec847 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -20,12 +20,10 @@ data. .. _AFQ: http://github.com/yeatmanlab/AFQ -AFQ-Browser paper -~~~~~~~~~~~~~~~~~ +More details and motivation behind this project, are available in the `paper `_: -If you are interested in technical details and motivation behind this project, please read our `paper `_. + `Yeatman, J. D., Richie-Halford, A., Smith, J. K., Keshavan, A., & Rokem, A. (2018). A browser-based tool for visualization and analysis of diffusion MRI data. Nature Communications, 9(1), 940.` -A slide presentation about the project is available `here `_. Acknowledgements ~~~~~~~~~~~~~~~~~~~