Git Product home page Git Product logo

Comments (4)

ebolyen avatar ebolyen commented on July 26, 2024 2

It would be great if there was a way to list transformations available for a directory format (and by proxy what formats could be used)

from q2studio.

jairideout avatar jairideout commented on July 26, 2024 2

Fixed in #111

from q2studio.

maxvonhippel avatar maxvonhippel commented on July 26, 2024 1

Working on this. EDIT: PR

from q2studio.

maxvonhippel avatar maxvonhippel commented on July 26, 2024 1

If I put a BIOMV100Format file in a folder, select that directory when I click import to add an Artifact, and specify the source format as BIOMV100Format and the type as FeatureTable[Frequency], I get the error "BAD REQUEST - InPath('/home/qiime2/data') is not a file.

In comparison, if I repeat these steps with a folder containing a BIOMV210Format file named feature-table.biom and don't specify source format, everything works fine.

I see two possible issues here:

  1. The code doesn't seem to always detect the .biom files, even the V210 ones, in a directory, if they are not named according to some convention it likes.
  2. The code doesn't seem to be able to handle directory input for files which are not V210, such as V100 files.

Are these problems which should be fixed? If so, should we reopen this issue to address issue 2, and then create a new issue for issue 1, as above?

------- EDIT ------

I gave the wrong source format. For a directory with a single .biom file in it of BIOMV100Format I should give the source format of BIOMV100DirFmt. Similarly, a single file directory where the file is BIOMV210Format would require a source format of BIOMV210FirFmt. The error came because I told the code to expect a file and then gave it a directory ... which, obviously, isn't a file. The file naming convention is by design, not a mistake, and has to do with more complex situations in which we have to detect the correct file in a folder with many possible inputs, and pin down the precise reason behind any one of many possible errors that could happen. So there are no issues here and everything is awesome 👍 👍 .

from q2studio.

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.