Skip to content

Commit

Permalink
use remote test files
Browse files Browse the repository at this point in the history
  • Loading branch information
dsavchenko committed Mar 11, 2024
1 parent 99e6c7d commit 814ea3e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile_galaxy
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM python:3.9

COPY . /source

# RUN pip install git+https://github.com/oda-hub/nb2workflow@master#egg=nb2workflow[galaxy]
RUN pip install git+https://github.com/oda-hub/nb2workflow@galaxy-tool-test-remotefile#egg=nb2workflow[galaxy]
RUN pip install /source[galaxy] && rm -r /source

# Add Tini
Expand Down
3 changes: 3 additions & 0 deletions odabot/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -835,6 +835,8 @@ def repo_file_path_if_available(filename):
outd = os.path.join(tools_repo_dir, 'tools', project['path'])
shutil.rmtree(outd, ignore_errors=True)

repo_files_baseurl = f"{project['web_url']}/-/raw/{project['default_branch']}/"

to_galaxy(input_path=wf_repo_dir,
toolname=tool_name,
out_dir=outd,
Expand All @@ -845,6 +847,7 @@ def repo_file_path_if_available(filename):
citations_bibfile=bib_file,
help_file=help_file,
available_channels=available_channels,
test_data_baseurl=repo_files_baseurl
)

# creating shed file
Expand Down

0 comments on commit 814ea3e

Please sign in to comment.