Giter VIP home page Giter VIP logo

Comments (7)

huidongchen avatar huidongchen commented on August 17, 2024

update:

The 'dtype' is missing in _read_text()

    return AnnData(data,
                   obs={'obs_names': row_names},
                   var={'var_names': col_names})

Similarly, in transpose() and copy(),etc, it's missing too

from anndata.

falexwolf avatar falexwolf commented on August 17, 2024

It should be present in _read_text, right and the other reading function! That's a bug. Would you mind making a pull request?

It shouldn't be present in transpose and copy, though.

from anndata.

huidongchen avatar huidongchen commented on August 17, 2024

Sure. I will do that.

But I noticed for the function transpose() , if I don’t add dtype = float64, after read_text() and transpose, it will be reverted to float32 again . I guess there must be something else that needs to be fixed.

from anndata.

huidongchen avatar huidongchen commented on August 17, 2024

Hi Alex,

Thanks again for developing this amazing package for python community. I was wondering if you have any updates on the data type issue. I'll be happy to pull request if you could let me know besides reading functions all the other functions I should look at.

Many thanks!

Best,
Huidong

from anndata.

falexwolf avatar falexwolf commented on August 17, 2024

Sorry for being so slow, @huidongchen , it's been fixed for copy (989f13e) and for transpose (b7dca41).

The PR for the read functions will only affect the read functions themselves. Should be very straight forward. Thank you!

from anndata.

huidongchen avatar huidongchen commented on August 17, 2024

Hi Alex @falexwolf thanks a lot for updating other relevant parts. I will make a PR shortly.

from anndata.

falexwolf avatar falexwolf commented on August 17, 2024

Fixed via #81.

from anndata.

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.