Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix inconsistency with resolving pipeline interfaces depending on single vs a list of interfaces #486

Merged
merged 2 commits into from
Mar 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions looper/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -560,6 +560,9 @@ def read_looper_config_file(looper_config_path: str) -> dict:

# Expand paths in case ENV variables are used
for k, v in return_dict.items():
if k == SAMPLE_PL_ARG or k == PROJECT_PL_ARG:
# Pipeline interfaces are resolved at a later point. Do it there only to maintain consistency. #474
pass
if isinstance(v, str):
v = expandpath(v)
# TODO this is messy because is_pephub_registry needs to fail on anything NOT a pephub registry path
Expand Down
1 change: 1 addition & 0 deletions tests/test_comprehensive.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ def test_comprehensive_looper_pipestat(prep_temp_pep_pipestat):
retrieved_result = psm.retrieve_one(record_identifier="frog_2")


@pytest.mark.skipif(not is_connected(), reason="This test needs internet access.")
def test_comprehensive_looper_pephub(prep_temp_pep_pephub):
"""Basic test to determine if Looper can run a PEP from PEPHub"""

Expand Down
Loading