Comments (3)
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.
Got it. Thanks. I will submit a pull request.
from brainstools.
@fedorov I just committed this on the main branch under commit id 58f2ee8
from brainstools.
Related Issues (20)
- International conversion of string values to double (or int)
- Review population based template building. HOT 2
- DWIConvert fails with coronal DICOMs
- BRAINSTools build fails to properly configure TBB HOT 3
- Build issue related to MultiThreaderBase.h HOT 9
- Warning: #define main ModuleEntryPoint (-fvar-tracking-assignments)
- DWIConvert absent in build/bin HOT 3
- Problem with script hierarchy using Sphinx
- Problems accessing scripts using Sphinx
- Problems autodocumenting scripts using Sphinx
- Bug: inputLandmarkFiles.size() >= 2 instead of >2 ? HOT 2
- Missing 'from collection import OrderedDict'?
- interpolator type issue (was: can't use transform template in ITK5) HOT 4
- DWIConvert converts UINT16 as INT16
- BCD: Error during Reading in external files HOT 1
- GTRACT command line Slicer 4.10. HOT 1
- Float output type required for updated itk::SignedMaurerDistanceMapImageFilter
- Fix GH-PAGES
- problems with installation HOT 1
- Clarify CLI module paramter description
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from brainstools.