Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Nicola Soranzo
    @nsoranzo:matrix.org
    [m]
    sergey Marius : There's a conflict about SQLAlchemy sessions in lib/galaxy/tools/cache.py when trying to merge release_21.09 forward into dev, can one of you have a look? It's too arcane for me :D
    sergey
    @ic4f:matrix.org
    [m]
    looking into it
    sergey
    @ic4f:matrix.org
    [m]
    Nicola Soranzo: do I submit this as a regular PR merging 21.09 into dev?
    Nicola Soranzo
    @nsoranzo:matrix.org
    [m]
    Up to you, if you are confident the merge is fine you can push directly, but a PR doesn't hurt.
    sergey
    @ic4f:matrix.org
    [m]
    I'll do a PR just in case (all seems correct, but...)
    Nicola Soranzo
    @nsoranzo:matrix.org
    [m]
    Sure!
    sergey
    @ic4f:matrix.org
    [m]
    there is a tiny change I need to make. It'll work without it. The change is an edit to 1 line and changes "works" to "always works and is correct as per docs". This is a separate commit. Can I submit it with the merge in the same PR? Or would it be more convenient to have 2 separate PRs?
    Marius
    @mvdbeek:matrix.org
    [m]
    Put it in the PR, no point for the separate PRs. If you need to target 21.09 with the fix you can start with that
    sergey
    @ic4f:matrix.org
    [m]
    for ref: engine = session().bind >> engine = session.get_bind()
    OK, thanks
    Marius
    @mvdbeek:matrix.org
    [m]
    Thanks for the fix :)
    sergey
    @ic4f:matrix.org
    [m]
    It was super minor. I'll describe in the commit message
    Nate Coraor
    @natefoo:matrix.org
    [m]
    Note this is only (if I understand correctly) the fork, and not the one maintained by Sylabs (SingularityCE). Although I honestly don't quite understand the distinction between the two.
    Even their citing section doesn't really clear it up: https://github.com/apptainer/singularity
    Björn Grüning
    @bgruening
    Sylabs is a commercial spinoff. That took the same.
    Nate Coraor
    @natefoo:matrix.org
    [m]
    But they also maintain a f/oss version.
    Björn Grüning
    @bgruening
    The open community project is now under the LF and they are renaming themself to be distinguishable with the commercial one.
    Nate Coraor
    @natefoo:matrix.org
    [m]
    So there is no overlap between development of the two?
    Björn Grüning
    @bgruening
    Yes, they do but its not clear if this stays in sync. The hope is that the commercial entity is basing their product on apptainer
    Not much to my understanding.
    Nicola Soranzo
    @nsoranzo:matrix.org
    [m]
    It's kinda like ownCloud vs. Nextcloud.
    Nate Coraor
    @natefoo:matrix.org
    [m]
    At least in that case they don't both use the same name. ;)
    So if nothing else, the name change is very helpful!
    Nate Coraor
    @natefoo:matrix.org
    [m]
    @davebx: I just tried allowlisting a tool on Main and ran into some issues: The latest version seems not to appear in "HTML Sanitized", 2 of the 3 tool IDs had their versions mangled in the allowlist file (they had a space in the version number where the + should be):
    toolshed.g2.bx.psu.edu/repos/iuc/snpfreqplot/snpfreqplot/1.0 galaxy1
    toolshed.g2.bx.psu.edu/repos/iuc/snpfreqplot/snpfreqplot/1.0 galaxy2
    toolshed.g2.bx.psu.edu/repos/iuc/snpfreqplot/snpfreqplot/1.0+galaxy0
    Dave B.
    @davebx
    oh h*ck, let me have a look, I probably created a bug somewhere
    or forgot to handle spaces
    Nate Coraor
    @natefoo:matrix.org
    [m]
    Not sure how those request params are handled but a urlescaped space is a +
    1 reply
    Curious it worked for one but not others though, that sort of heisenbug will surely be fun to track down. ;D
    Dave B.
    @davebx
    aren't they always :laughing: :sob:
    M Bernt
    @bernt-matthias

    I'm thinking of complex tool forms created from biom datasets, better the contained metadata: Lets say we have metadata

    • location: with values skin and gut
    • day: 1, 2, 3 ...

    Then I want to generate a tool that allows to select the metadata (location/day) and in a second select the corresponding values

    Currently this seems not possible. First of all the Biom1 class does not store metadata values. But also on the tool side I'm not sure if this can be realized.

    1 reply
    I also thought about just using the tabular metadata (which we could extract from the biom file. Then this would correspond to choose a column in the first select and then we would need to choose from the values in this column in the second... but I can't think of a way to address the column in the 2nd select
    M Bernt
    @bernt-matthias:matrix.org
    [m]
    Anyone knows if this could be possible from the tool side? ..
    Nolan Woods
    @innovate-invent
    it looks like the "Export citations" function doesn't get everything ( or most things )
    Nolan Woods
    @innovate-invent
    is there some sort of filter applied when generating the list?
    bgruening
    @bgruening:matrix.org
    [m]
    Not that I know. Do you have something to reproduce
    Marius
    @mvdbeek:matrix.org
    [m]
    that's from https://github.com/galaxyproject/galaxy/blob/dev/test/functional/tools/options_from_metadata_file.xml ... although meta_file_key references an actual file, but referencing lists or other iterables should also be possible
    (should as in shouldn't be hard to implement, given that meta_file_key seems harder to do than something like meta_element that refers to a MetadataElement on the dataype)
    I'm somewhat surprised we don't seem to have this ... why do we even collect all these metadata elements if you can't build an interface from it
    Marius
    @mvdbeek:matrix.org
    [m]
    If you want to give it a shot, you could add another elif in https://github.com/mvdbeek/galaxy/blob/08d7bb730ce231759beefae872ab212e5ea4cd71/lib/galaxy/tools/parameters/dynamic_options.py#L678 to pick the options from dataset.metadata[meta_element]
    M Bernt
    @bernt-matthias
    @mvdbeek:matrix.org .. I will put it on my list .. :)
    M Bernt
    @bernt-matthias:matrix.org
    [m]
    Can some one tell me why the new test tool (filter_param_value.xml) added here galaxyproject/galaxy#13039 is not running in the framework tests .. guess again some problem on my side :(
    Marius
    @mvdbeek:matrix.org
    [m]
    It looks correct, but does it load ?
    M Bernt
    @bernt-matthias:matrix.org
    [m]
    Apparently not, its not listed in the output of the framework test.
    If I test it manually with planemo test then there is a tool load error because of the forward reference in the param_value filter of the first select... but I would expect that the tool is still included in the tests and the error shows up there ... ?
    M Bernt
    @bernt-matthias:matrix.org
    [m]
    Will try to comment this .. and see it the test turns up
    Marius
    @mvdbeek:matrix.org
    [m]
    If the tool is not valid it won't load and we can't build tests
    M Bernt
    @bernt-matthias:matrix.org
    [m]
    Thanks Marius .. is there a possibility to make the tests fail if there is an invalid tool? Maybe by modifying driver_util.GalaxyTestDriver?
    Marius
    @mvdbeek:matrix.org
    [m]
    That would be nice, but also tricky to know what tool load error should be a failure