Coder Social home page Coder Social logo

post_op about dcm2bids HOT 6 CLOSED

raniaezzo avatar raniaezzo commented on August 16, 2024
post_op

from dcm2bids.

Comments (6)

arnaudbore avatar arnaudbore commented on August 16, 2024 1

Perfect, everything you see in this PR will be in the next release end of this week I think.

from dcm2bids.

arnaudbore avatar arnaudbore commented on August 16, 2024

Thank you @raniaezzo for reporting this issue. I'll try to replicate it asap and fix it if needed.

from dcm2bids.

arnaudbore avatar arnaudbore commented on August 16, 2024

@raniaezzo can you try with the PR #260 ? I think this should fix your issue.

from dcm2bids.

raniaezzo avatar raniaezzo commented on August 16, 2024

@arnaudbore Yes, thanks. It fixed the original issue which was about getting pydeface to run. However, after it completes, the output is not actually defaced when doing it through dcm2bids function.

When I run dcm2bids, the output includes:

INFO | Running: pydeface --outfile /Users/rje257/Desktop/BIDS_testing/sub-0325/ses-01/anat/sub-0325_ses-01_run-01_T1w.nii.gz /Users/rje257/Desktop/BIDS_testing/tmp_dcm2bids/sub-0325_ses-01/032_Subject_0325_anat-T1w_20221003112735.nii.gz --verbose --debug --force
. . .
(it pauses and takes a while during the defacing step)
. . .
INFO | --- dcm2bids end ---

But the output /Users/rje257/Desktop/BIDS_testing/sub-0325/ses-01/anat/sub-0325_ses-01_run-01_T1w.nii.gz is NOT defaced.

I copied the output file back into the tmp directory and re-ran the pydeface command directly (not through dcm2bids), and the defacing works.

from dcm2bids.

arnaudbore avatar arnaudbore commented on August 16, 2024

I fixed the issue I think you are referring. Can you check you test the PR with the latest commit.

commit 2dc01db96bcbd505ef6559e6ebffb877990582f0 (HEAD -> fix_post_op, origin/fix_post_op)
Author: Arnaud Bore <[email protected]>
Date:   Mon Sep 11 17:14:15 2023 -0400

    change cp to shutil copy

from dcm2bids.

raniaezzo avatar raniaezzo commented on August 16, 2024

Yes, that worked. Thanks!

from dcm2bids.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.