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

Additional check while going through accessions #56

Open
yarikoptic opened this issue Oct 21, 2022 · 0 comments
Open

Additional check while going through accessions #56

yarikoptic opened this issue Oct 21, 2022 · 0 comments

Comments

@yarikoptic
Copy link
Member

If ses markers are found to be alpha and start at int(1) -- they are likely to be strictly +1 for each subsequent one, e.g.

# /inbox/DICOM/DATE/A003591 done  SID0XXX (sid001804) session=XX  !!! was converted into SID0XXX/ses-01
# /inbox/DICOM/DATE/A003597 done  SID0XXX (sid001804) session=02 
# /inbox/DICOM/DATE/A003603 done  SID0XXX (sid001804) session=03 
# /inbox/DICOM/DATE/A003615 done  SID0XXX (sid001804) session=04 
# /inbox/DICOM/DATE/A003649 done  SID0XXX (sid001804) session=XX  !!! was converted into SID0XXX/ses-05
# /inbox/DICOM/DATE/A003659 done  SID0XXX (sid001804) session=06 
# /inbox/DICOM/DATE/A003688 done  SID0XXX (sid001804) session=07 
# /inbox/DICOM/DATE/A003698 done  SID0XXX (sid001804) session=08 
# /inbox/DICOM/DATE/A003713 done  SID0XXX (sid001804) session=09 
# /inbox/DICOM/DATE/A003715 done  SID0XXX (sid001804) session=10 
# /inbox/DICOM/DATE/A003720 done  SID0XXX (sid001804) session=11 
# /inbox/DICOM/DATE/A003778 done  SID0XXX (sid001804) session=12 
# /inbox/DICOM/DATE/A003865 done  SID0XXX (sid001804) session=13 
# /inbox/DICOM/DATE/A003875 done  SID0XXX (sid001804) session=14 
# /inbox/DICOM/DATE/A003883 done  SID0XXX (sid001804) session=15 
# /inbox/DICOM/DATE/A003918 done  SID0XXX (sid001804) session=16 
# /inbox/DICOM/DATE/A003924 done  SID0XXX (sid001804) session=17 
# /inbox/DICOM/DATE/A003985 done  SID0XXX (sid001804) session=18 
# /inbox/DICOM/DATE/A004071 done  SID0XXX (sid001804) session=19 
# /inbox/DICOM/DATE/A004244 done  SID0XXX (sid001804) session=20 
# /inbox/DICOM/DATE/A004280 done  SID0XXX (sid001804) session=21 
# /inbox/DICOM/DATE/A004293 done  SID0XXX (sid001804) session=22 
# /inbox/DICOM/DATE/A004299 done  SID0XXX (sid001804) session=23 
# /inbox/DICOM/DATE/A004307 done  SID0XXX (sid001804) session=24 
# /inbox/DICOM/DATE/A004476 done  SID0XXX (sid001804) session=25 
# /inbox/DICOM/DATE/A004874 done  SID0XXX (sid001804) session=26 
# /inbox/DICOM/DATE/A004901 done  SID0XXX (sid001804) session=27 
# /inbox/DICOM/DATE/A005111 done  SID0XXX (sid001804) session=28 
# /inbox/DICOM/DATE/A005138 done  SID0XXX (sid001804) session=29 
heudiconv -c dcm2niix --bids -o /inbox/BIDS -g accession_number --anon-cmd '.heudiconv/anon-cmd' -f .heudiconv/heuristic.py -l Wager/Wager/1080_wasabi --files /inbox/DICOM/DATE/A005178 # SID0XXX (sid001804) session=30

so clearly 30 is correct one, and if it was

  • 31 -- some is missing!
  • 030 -- different formatting (ideally we check for consistency there)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant