Code Monkey home page Code Monkey logo

Comments (9)

byvernault avatar byvernault commented on July 30, 2024

Hmm, that should be added with the pull request dax_test we added. Let me check.

from dax.

byvernault avatar byvernault commented on July 30, 2024

Ah I miss read the comment. hmm what is this issue again?

from dax.

bud42 avatar bud42 commented on July 30, 2024

wat?
On Fri, May 6, 2016 at 10:19 AM Benjamin Yvernault [email protected]
wrote:

Hmm, that should be added with the pull request dax_test we added. Let me
check.


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#68 (comment)

from dax.

damonms avatar damonms commented on July 30, 2024

It's a case sensitive issue. The case of the qcstatus on XNAT in sent to .lower() though the qc status list is not.

In [3]: BAD = ['Failed', 'Bad', 'Poor', 'Do Not Run']

In [4]: qcstatus = 'Bad (Needs Edits)'

In [5]: for qc in BAD:
...: if qc in qcstatus.split(' ')[0].lower():
...: print "BAD QC"
...:

In [6]: 'Bad' in 'bad'
Out[6]: False

from dax.

damonms avatar damonms commented on July 30, 2024

Throwing .lower() in qc fixes the issue

from dax.

bud42 avatar bud42 commented on July 30, 2024

Steve, I'm looking into this. Are you referring to is_bad_qa() in XnatUtils ?

from dax.

bud42 avatar bud42 commented on July 30, 2024

Am I looking at this correctly? is_bad_qa returns 1 if the status is good? Seems backwards.
And is there any case where the current implementation will ever return -1?

from dax.

bud42 avatar bud42 commented on July 30, 2024

#72

from dax.

damonms avatar damonms commented on July 30, 2024

Done

from dax.

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.