Skip to content

Commit

Permalink
fixed issue with import of utils
Browse files Browse the repository at this point in the history
  • Loading branch information
tiagofilipe12 committed Sep 7, 2018
1 parent 480a341 commit f3e9f2f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ manifest {

// sets PYTHONPATH for utils to be available for templates
env {
PYTHONPATH = "$baseDir/templates"
PYTHONPATH = "$baseDir/templates:$baseDir/templates/assemblerflow_utils:\$PYTHONPATH"
}

//manifest.mainScript = 'main.nf'
Expand Down
5 changes: 3 additions & 2 deletions templates/mapping2json.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
import os
import json

from templates.assemblerflow_utils import get_logger, MainWrapper
from assemblerflow_utils.assemblerflow_base import get_logger, MainWrapper

logger = get_logger(__file__)

Expand Down Expand Up @@ -66,7 +66,8 @@ def depthfilereader(depth_file, plasmid_length, cutoff):
cutoff: str
the cutoff used to trim the unwanted matches for the minimum coverage
results from mapping. This is then converted into a float within this
function in order to compare with the value returned from the perc_value_per_ref.
function in order to compare with the value returned from the
perc_value_per_ref.
Returns
-------
Expand Down
2 changes: 1 addition & 1 deletion templates/mashdist2json.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
import os
import json

from templates.assemblerflow_utils import get_logger, MainWrapper
from assemblerflow_utils.assemblerflow_base import get_logger, MainWrapper

logger = get_logger(__file__)

Expand Down
2 changes: 1 addition & 1 deletion templates/mashscreen2json.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
import os
import json

from templates.assemblerflow_utils import get_logger, MainWrapper
from assemblerflow_utils.assemblerflow_base import get_logger, MainWrapper

logger = get_logger(__file__)

Expand Down

0 comments on commit f3e9f2f

Please sign in to comment.