Comments (2)
When I switched True
in that statement to 1
the parser stopped
complaining and it still worked. The only risk here is that a mask may
contain values {0, 100}
or something else arbitrarily not zero or 1.
Perhaps we simply say >0
instead of is True
or == 1
to be robust and
pep8 compliant?
Greg Kiar [email protected]
On Thu, Feb 4, 2016 at 6:53 AM, William Gray [email protected]
wrote:
Confirm we are using np.where the pep8 way.
Upstream we set a mask equal to True/False, so (np.where == True) should
be ok.PEP8 complains, but may be the parser or still the right way to do it.
—
Reply to this email directly or view it on GitHub
#26.
from m2g.
i believe we addressed this. It works and is pep8 compliant.
from m2g.
Related Issues (20)
- Get QA intermediate registration work again HOT 1
- QA on Tensor Estimation HOT 1
- pure python for fast HOT 2
- @wilttang is ready
- Remove ActStoppingCriteron
- Issue with CSD Model
- Write a data descriptor paper, correct neuroparc atlas labels, create analysis code for analyzing m2g results. Datasets used: https://docs.google.com/spreadsheets/d/1Vr4uL6LZ2qtYdMztYYvf7dRJCvf14NG9x7rERJGPGaI/edit?usp=drive_web&ouid=109524036410778138686 HOT 5
- Writing a paper HOT 3
- Write a paper HOT 8
- Write a Data Descriptors Paper HOT 3
- writing a paper about our connectomes dataset HOT 5
- Write a paper of data description HOT 4
- Make m2g_bids and dwi_pipeline arguments agree with each other?
- Flesh-out parcellation finding
- Harvard Oxford Label Correspondence HOT 1
- Enhancements
- Possible steps to add to DTI pipeline HOT 2
- Migrate travis test to new domain HOT 1
- TODO for version v1.0.0
- how can find the list of parcellation we can use as input
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 m2g.