GithubHelp home page GithubHelp logo

Comments (3)

hjmjohnson avatar hjmjohnson commented on May 22, 2024

In the main directory tree in

BRAINSTools/Utilities/SetupForDevelopment.sh

This needs to be run to get the git hooks to maintain consistent code put
into place.

Hans

From: Andrey Fedorov [email protected]
Reply-To: BRAINSia/BRAINSTools
<reply+i-19761051-445d859eb2fe8896b708c09a57637c4bbc6dab09-313970@reply.gith
ub.com>
Date: Thursday, September 19, 2013 10:15 AM
To: BRAINSia/BRAINSTools [email protected]
Subject: [BRAINSTools] Report what exception is before re-throwing (#66)

Currently, exception is not caught, and the user get this cryptic error
message when output file cannot be created:

libc++abi.dylib: terminate called throwing an exception

Here is the fix:

--- a/BRAINSCommonLib/GenericTransformImage.cxx
+++ b/BRAINSCommonLib/GenericTransformImage.cxx
@@ -206,6 +206,7 @@ int WriteBothTransformsToDisk(const
GenericTransformType::ConstPointer genericTr
}
catch( itk::ExceptionObject & excp )
{

  • std::cout << "Exception: " << excp << std::endl; throw excp; // reohrow
    exception, handle in some other scope. } return 0;
    I tried to create a pull request, but I am unable to commit the change (to
    my own git fork!), because of this error message: "Your work tree has not
    been configured for development." Running
    ITK_DIR/Utilities/SetupForDevelopment.sh does not fix this error. Can you
    tell me how to fix this?


Reply to this email directly or view it on GitHub
#66 .

from brainstools.

fedorov avatar fedorov commented on May 22, 2024

Got it. Thanks. I will submit a pull request.

from brainstools.

hjmjohnson avatar hjmjohnson commented on May 22, 2024

@fedorov I just committed this on the main branch under commit id 58f2ee8

from brainstools.

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.