Giter Club home page Giter Club logo

Comments (4)

jairideout avatar jairideout commented on September 14, 2024 2

👍 for updating the places where qiime2 is reading/writing manifests so they're compatible with commas. There'll still be the opportunity for users to run into the issue when they're writing their own manifest file (which they'll need to quote themselves), so some docs on the importing tutorial may be useful in addition to the q2-types updates. Does that sound good to you?

from q2-types.

thermokarst avatar thermokarst commented on September 14, 2024 2

Sounds good to me (updating q2-types and documenting the edge case)!

from q2-types.

jairideout avatar jairideout commented on September 14, 2024

I'm not sure we can do much about that since the format is CSV. Users will need to quote any fields containing commas to "escape" the delimiter. Do you think describing this edge-case in the "fastq manifest" part of the importing tutorial would resolve the issue?

from q2-types.

thermokarst avatar thermokarst commented on September 14, 2024

Couldn't we start emitting quoted fields and/or escaped fields in the internal manifest? It looks like we are already using pandas.read_csv, to read those manifests back into Q2, which should be able to handle quoted vs non-quoted editions of these files. I think we could do that in a backwards-compatible way, but maybe I am missing something! One gotcha is that there are a few places in the ecosystem where we grab the manifest and do some things with it, so depending on how that is currently implemented, there could be some unintended consequences 👿 .

I am up for documenting the edge case if we don't have a quick fix for this!

from q2-types.

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.