Coder Social home page Coder Social logo

Comments (8)

juliangehring avatar juliangehring commented on May 30, 2024

What module is causing the conflict? I can't reproduce the warning with a recent julia 0.5.0-dev+5179 version. Can you post a reproducible example?

from bootstrap.jl.

juliangehring avatar juliangehring commented on May 30, 2024

I also can't get the warning with julia v0.5.0-rc2. I guess that is what you were referring to with "julia 0.5 release"?

from bootstrap.jl.

kescobo avatar kescobo commented on May 30, 2024

Hmm... I didn't check before, but this is only happening when using the Juno IDE in the Atom editor. In my file, I execute:

using DataFrames,
      Bootstrap

And don't get the warning. Then:

function getbootstrap(v, n=1000, i=0.95)
    bs = bootstrap(v, mean, BasicSampling(n))
    ci1 = ci(bs, BasicConfInt(i))
    return ci1[1]
end

And this spits the warning:

WARNING: Method definition getbootstrap(Any) in module Main at /Users/KBLaptop/computation/Science/gender-comp-bio/src/bootstrapping.jl:6 overwritten at /Users/KBLaptop/computation/Science/gender-comp-bio/src/bootstrapping.jl:6.
WARNING: Method definition getbootstrap(Any, Any) in module Main at /Users/KBLaptop/computation/Science/gender-comp-bio/src/bootstrapping.jl:6 overwritten at /Users/KBLaptop/computation/Science/gender-comp-bio/src/bootstrapping.jl:6.
WARNING: Method definition getbootstrap(Any, Any, Any) in module Main at /Users/KBLaptop/computation/Science/gender-comp-bio/src/bootstrapping.jl:6 overwritten at /Users/KBLaptop/computation/Science/gender-comp-bio/src/bootstrapping.jl:6.

But I just opened the REPL and did the same thing, but did not get a warning. So this might be a problem with Juno - I'll open an issue over there.

from bootstrap.jl.

kescobo avatar kescobo commented on May 30, 2024

Julia Version 0.5.0-rc2+0, what you get when you do git checkout release-0.5

from bootstrap.jl.

juliangehring avatar juliangehring commented on May 30, 2024

Ok, thank you for the example. When does the WARNING: using Bootstrap.data in module Main conflicts with an existing identifier occur? The warning in your example seems to be a different one.

from bootstrap.jl.

kescobo avatar kescobo commented on May 30, 2024

Ahh, excellent point. I cannot now reproduce that original warning and the associated errors :-/

It was happening when I was including a script that had the above function definition, and then using it on some DataFrame columns, but I just went back and repeated the procedure and only see the method definition warning. I'll let you know if it pops up again, but I can't seem to find it...

from bootstrap.jl.

juliangehring avatar juliangehring commented on May 30, 2024

No worries - let me know in case it shows up again.

from bootstrap.jl.

kescobo avatar kescobo commented on May 30, 2024

Will do!

from bootstrap.jl.

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.