Skip to content

Commit

Permalink
run black and bump node version in actions
Browse files Browse the repository at this point in the history
  • Loading branch information
bendhouseart committed Sep 12, 2024
1 parent a9291cf commit 0ab848f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/phantoms.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ jobs:
dcm2niix4pet -h
- name: Set Up Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4

- name: Install BIDS Validator
run: npm install -g bids-validator
Expand Down
1 change: 1 addition & 0 deletions pypet2bids/pypet2bids/helper_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -1155,6 +1155,7 @@ def first_middle_last_frames_to_text(
fmt="%s",
)


def reorder_isotope(isotope: str) -> str:
"""
Reorders the isotope string to be in the format of "isotope""element name"
Expand Down
2 changes: 1 addition & 1 deletion pypet2bids/tests/test_helper_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ def test_reorder_isotope():
"11C": ["C11", "^11^C", "C-11", "11-C", "11C", "c11", "c-11", "11c"],
"18F": ["F18", "^18^F", "F-18", "18-F", "18F"],
"68Ga": ["Ga68", "^68^Ga", "Ga-68", "68-Ga", "68Ga"],
"52mMn": ["Mn52m", "Mn-52m", "52m-Mn", "52mMn"]
"52mMn": ["Mn52m", "Mn-52m", "52m-Mn", "52mMn"],
}

for isotope, isotope_variants in isotopes.items():
Expand Down

0 comments on commit 0ab848f

Please sign in to comment.