Comments (3)
added a hack fix to this by making a little function to call the run function. This is because I wanted to
- explicitly pass the logger stream in
- explicitly pass the DRYRUN argument from the DRYRUN global variable
Also I added a setting we're the whole script dies when the subprocess exits with an error...maybe this should be a default for the run function itself??
from ciftify.
Hey Erin,
I've finally got a working recipe for this.
First: logger needs to be set to be the logger for the whole package, not just the current script. This will let it capture logging from utilities and other scripts. So:
logger = logging.getLogger('ciftify')
Second: The logger needs to have it's log level set to be the 'highest' level. That is, it needs to be the level that catches the most logging output (debug in our case since we dont use any more verbose levels). So:
logger.setlevel(logging.DEBUG)
Third: From that point on, only modify the log level of specific handlers. So the stream handler can be changed to lower levels, but other handlers can still receive the debug log messages for the entire package.
I've fixed this in pull request #25
I also removed the logging argument from run, since it doesnt need to be passed around now.
from ciftify.
done..thanks Dawn
from ciftify.
Related Issues (20)
- move dlabelIO functions from tigr_parc to ciftify
- make ciftify_meants work with wb_command versions ? 1.3. HOT 1
- Error with ciftify_peaktable : "ValueError : must have equal en keys and value when setting an iterable". HOT 4
- Differences in T1w/fsaverage_LR32k surfaces between ciftify and HCP download HOT 4
- freesurfer license not found HOT 5
- ciftify_recon_all error HOT 7
- Many 0s in fMRI timeseries (using raw HCP data) HOT 4
- setNativeLocks failed on ciftify_bids_app
- Cluster program not first on path
- Ciftifying multiple runs / tasks
- ciftify_recon_all fails occasionally with returncode 1 HOT 2
- Error in ciftify_peaktable and ciftify_statclust_report HOT 1
- T1w anatomical normalization issue HOT 2
- Yaml file HOT 3
- Error in ciftify_peaktable HOT 1
- permission error HOT 7
- Error creating atlas files (aparc.a2009s+aseg.nii.gz)
- ModuleNotFoundError: No module named 'nibabel.gifti.giftiio' HOT 8
- Did not find dscalar.nii file of vertex area
- fix falff bug.
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 ciftify.