Giter Club home page Giter Club logo

Comments (6)

lbarquist avatar lbarquist commented on August 14, 2024 3

No problem! I assume it worked?

from bio-tradis.

lbarquist avatar lbarquist commented on August 14, 2024

That's a bit mysterious. Adding a -v to the cpanm command should provide more info, particularly if any tests fail, e.g.:

sudo cpanm -f -v Bio::Tradis

Can you post the output from this?

from bio-tradis.

minisciencegirl avatar minisciencegirl commented on August 14, 2024

Error summary:

Looks like you failed 9 tests of 45.
Failed test 'smalt in PATH'
at t/requires_external.t line 8.
Failed test 'tabix in PATH'
at t/requires_external.t line 8.
Looks like you failed 2 tests of 6.
Failed 6/15 test programs. 17/218 subtests failed.
make: *** [test_dynamic] Error 2
! Testing Bio-Tradis-1.3.3 failed but installing it anyway.

Here is the complete output: install.log

from bio-tradis.

lbarquist avatar lbarquist commented on August 14, 2024

So, to me it looks like these are path issues with smalt and samtools (tabix comes from samtools).

I'm assuming smalt and tabix are in your path with your user account? I.e. you can run 'smalt' and 'tabix' at the command line and get the help screens?

If this is the case, then I suspect this an issue with your sudo not preserving the environment and/or running the root profile -- this is the case with some Linux distributions (see here: https://unix.stackexchange.com/questions/83191/how-to-make-sudo-preserve-path). You can test if this is the case by comparing the output of:

echo 'echo $PATH' | sh

and

echo 'echo $PATH' | sudo sh

If these are different, then I think this solution from that stackoverflow thread I linked to should fix your problem, though I haven't been able to test this:

sudo env "PATH=$PATH" cpanm -f -v Bio::Tradis

Any luck with that? I'm guessing Bio::Tradis should be installed properly now anyway as these errors shouldn't affect the installation (can you run 'bacteria_tradis' from the commandline?), but it'd be comforting to have all the tests succeeding....

from bio-tradis.

minisciencegirl avatar minisciencegirl commented on August 14, 2024

Thank you so much, @lbarquist!!

from bio-tradis.

lbarquist avatar lbarquist commented on August 14, 2024

Great, hope it's useful to you!

@andrewjpage mind closing this issue when you've got a chance? I don't have permissions. Thanks!

from bio-tradis.

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.