Code Monkey home page Code Monkey logo

weitrix's People

Contributors

jwokaty avatar nturaga avatar pfh avatar

Watchers

 avatar  avatar

Forkers

nkandhari

weitrix's Issues

Upcoming change to DelayedArray::realize()

Hi Paul,

I'm the maintainer of the DelayedArray package. In the next few days I'm planning to make a small change to the behavior of realize() that could potentially affect packages that use this function (weitrix is one of them).

What will change?

Only the behavior of the default realize() method will change, and it will change only when the BACKEND argument is set to NULL. Right now (i.e. in DelayedArray <= 0.29.0), realize(x, BACKEND=NULL) realizes x in memory (as an ordinary array) and returns the in-memory array wrapped in a DelayedArray object. The change I'm considering is to get rid of the DelayedArray wrap, that is, to return the in-memory array naked.

Note that for any other BACKEND value, nothing will change, i.e. realize() will still be guaranteed to return a DelayedArray derivative (e.g. an HDF5Array object if BACKEND is set to "HDF5Array").

How will this affect your code?

If it's important for your code that realize() always returns a DelayedArray object or derivative, like it does at the moment, then simply replace any call to realize(...) with DelayedArray(realize(...)). This will preserve the current behavior even after the change. Note that calling the DelayedArray() constructor function on a DelayedArray object or derivative is a no-op. In other words, this extra step won't add the DelayedArray wrap again if there's already one.

Where/when will this change happen?

I will make this change to the devel branch of the DelayedArray package in the next few days. It will only (potentially) affect packages in BioC 3.19. Nothing will change in the RELEASE_3_18 branch of DelayedArray (BioC 3.18).

Let me know if you have any question about this.

Thanks,
H.

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.