Skip to content

Pulsar and Zotero SRC Galaxy updates#58

Open
mirelaminkova wants to merge 5 commits into
UtrechtUniversity:mainfrom
mirelaminkova:zenodo_connector
Open

Pulsar and Zotero SRC Galaxy updates#58
mirelaminkova wants to merge 5 commits into
UtrechtUniversity:mainfrom
mirelaminkova:zenodo_connector

Conversation

@mirelaminkova
Copy link
Copy Markdown
Collaborator

Hi,

I rolled out some updates to Galaxy:

  1. Now Galaxy and Pulsar can be connected interactively inside SRC, no need for users to manually edit their Galaxy instances.
  2. For reproducibility purposes, I have now added the Zotero connector, meaning users can import/export wfs, data from/to Zotero

Copy link
Copy Markdown
Member

@dometto dometto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Really great addition, looks good to me apart from a few linting issues! And we should figure out why the tests continue to fail.

Question: I noticed that in the catalog item, the interactive parameter to configure Pulsar has default text in it by default. Is this test-Pulsar ignored by Galaxy, or actually added to the configuration?

Final question: if you add the Pulsar config, will Galaxy use it by default? Or can I somehow choose per job if it's run on Galaxy or Pulsar?

Comment thread vars/src_galaxy_vars.yml Outdated
_galaxy_pulsar_tool_mappings_input: "{{ src_galaxy_pulsar_tool_mappings | default('', true) }}"

_galaxy_pulsar_configs_input: "{{ src_galaxy_pulsar_configs | default('', true) }}"
_galaxy_pulsar_tool_mappings_input: "{{ src_galaxy_pulsar_tool_mappings | default('', true) }}"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks identical to line 34, so remove one to fix the linter :)

Comment thread vars/src_galaxy_vars.yml Outdated
_galaxy_pulsar_configs_input: "{{ src_galaxy_pulsar_configs | default('', true) }}"
_galaxy_pulsar_tool_mappings_input: "{{ src_galaxy_pulsar_tool_mappings | default('', true) }}"

_galaxy_pulsar_configs_input: "{{ src_galaxy_pulsar_configs | default('', true) }}"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks identical to line 33, so remove one to fix the linter :)

Comment thread vars/src_galaxy_vars.yml

# Parse tool mappings
_galaxy_pulsar_tool_mappings: >-
{%- if _galaxy_pulsar_tool_mappings_input == '' or _galaxy_pulsar_tool_mappings_input == '[]' -%}
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe some documentation (in comments?) about why this parsing step is necessary would be useful: the regex itself is not super easy to read :)

Also note the linter's suggestion for improving the spacing

@mirelaminkova
Copy link
Copy Markdown
Collaborator Author

The text is used as an example for users to know where to put the copied config from the pulsar instance. If they do not wish to use Pulsar, they have to remove the fields with the examples.

Regarding the second question, now, every tool that you configure to use Pulsar will be redirected to there and will not be executed on Galaxy's side. I am currently working on tpv (see https://github.com/mirelaminkova/src-component-galaxy/tree/tpv) and when you provide Galaxy and Pulsar, it will decide, depending on the resources, where to be executed. This would also mean that I will most probably change the Galaxy and Pulsar config once again (or provide a new cat item, separate from this one). The Galaxy team has provided a db indicating how many resources a tool might need (https://gxy.io/tpv/db.yml).

As for the linting and the molecule tests, I will take a look, thanks :)

@dometto
Copy link
Copy Markdown
Member

dometto commented Jan 5, 2026

If they do not wish to use Pulsar, they have to remove the fields with the examples.

Ah ok! But this means that for 'default' Galaxy users who don't need Pulsar need to take a special action (remove the default config), or else their Galaxy will not work? That would be a bit unfortunate for the least technically minded users, they might find it a bit confusing to have to remove the default config. Or will Galaxy just use the local runner if the Pulsar config is invalid, so that there's no big problem if users forget to remove the default config?

@mirelaminkova
Copy link
Copy Markdown
Collaborator Author

It will not automatically use the Galaxy config, so indeed the users will have to remove the fields if they do not wish to work with Pulsar. I have not heard of any issues with this setup so far, but maybe I will change it in the future.

@dometto dometto closed this Jan 19, 2026
@dometto dometto reopened this Jan 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants