Coder Social home page Coder Social logo

Comments (5)

lecorguille avatar lecorguille commented on June 20, 2024

What is the issue with the solution without the version of both snow and batch?

from tools-metabolomics.

Lain-inrae avatar Lain-inrae commented on June 20, 2024

There are no problem with this solution (I think, I have not tested the tool).
The problem is: when galaxy tries to install the tool, we don't have the choice to use other versions than the ones described in the abims_xcms_xcmsSet.xml

from tools-metabolomics.

Lain-inrae avatar Lain-inrae commented on June 20, 2024

If I don't have the choice, I will install it myself - I will bypass galaxy's installation process.
But that makes the deployment of our galaxy (and it tools) non reproducible (unless I write a script for those tools).

from tools-metabolomics.

bgruening avatar bgruening commented on June 20, 2024

Those are very old conda packages, where conda still was not pinning R correctly. We either need to update those old R packages, upgrade the Galaxy tool to use more recent packages or you can use the BioContainer that hopefully exists for this tool.

from tools-metabolomics.

Lain-inrae avatar Lain-inrae commented on June 20, 2024

Hello,
I come back after some investigation about r-batch.
This package has not not been maintained since 2018. It is - in a majority of cases - used for command line parsing.
The most simple usage of this package R -q -e "batch::parseCommandArgs()" is very dangerous as it is prone to RCE (I managed to deploy a simple backdoor in python).
There are three packages that may replace it for the command line parsing. These packages are well maintained and I suppose they are well tested against command injections:
https://stackoverflow.com/questions/3433603/parsing-command-line-arguments-in-r-scripts

There are three packages on CRAN:

getopt: C-like getopt behavior
optparse: a command line parser inspired by Python's optparse library
argparse: a command line optional and positional argument parser (inspired by Python's argparse library). This package requires that a Python interpreter be installed with the argparse and json (or simplejson)

from tools-metabolomics.

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.