Commit 4b309e5c authored by Yohan Jarosz's avatar Yohan Jarosz

change screen to index

parent 1d2a0e8f
Pipeline #1553 failed with stages
in 1 minute and 37 seconds
...@@ -27,7 +27,7 @@ i-cl: ...@@ -27,7 +27,7 @@ i-cl:
i-with-another-filter: i-with-another-filter:
stage: init stage: init
script: script:
- impy -s . -c $CI_PROJECT_DIR/test/default.conf.json -d /mnt/data/db init --screen $CI_PROJECT_DIR/test/small.fa - impy -s . -c $CI_PROJECT_DIR/test/default.conf.json -d /mnt/data/db init --index $CI_PROJECT_DIR/test/small.fa
......
...@@ -362,9 +362,9 @@ def get_members(tar, prefix): ...@@ -362,9 +362,9 @@ def get_members(tar, prefix):
@cli.command() @cli.command()
@click.option('--generate', default=False, is_flag=True, help='Download and process the databases from original tools.') @click.option('--generate', default=False, is_flag=True, help='Download and process the databases from original tools.')
@click.option('--screen', help='Fasta file path to use for filtering.') @click.option('--index', help='Fasta file path to use for filtering.')
@click.pass_context @click.pass_context
def init(ctx, generate, screen): def init(ctx, generate, index):
""" """
Initialise databases. Initialise databases.
The initialisation is in two steps: The initialisation is in two steps:
...@@ -381,7 +381,7 @@ def init(ctx, generate, screen): ...@@ -381,7 +381,7 @@ def init(ctx, generate, screen):
ev = {} ev = {}
# check if fasta file is provided # check if fasta file is provided
if screen: if index:
screen_path = Path(screen).abspath() screen_path = Path(screen).abspath()
if not screen_path.exists(): if not screen_path.exists():
click.secho('Path provided does not exist: `%s`.' % screen_path, fg='red', bold=True) click.secho('Path provided does not exist: `%s`.' % screen_path, fg='red', bold=True)
......
...@@ -10,7 +10,7 @@ def read(fname): ...@@ -10,7 +10,7 @@ def read(fname):
setup( setup(
name='impy', name='impy',
version='0.2.4', version='0.2.5',
author="Shaman Narayanasamy, Yohan Jarosz", author="Shaman Narayanasamy, Yohan Jarosz",
author_email="shaman.narayanasamy@uni.lu, yohan.jarosz@uni.lu", author_email="shaman.narayanasamy@uni.lu, yohan.jarosz@uni.lu",
description=("Integrated Metaomic Pipeline command-line utility."), description=("Integrated Metaomic Pipeline command-line utility."),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment