Skip to content
Snippets Groups Projects
Commit 834a1d72 authored by François  LAURENT's avatar François LAURENT
Browse files

fixes bug #19

parent 5326a48b
Branches
Tags
No related merge requests found
Pipeline #95590 passed
......@@ -193,3 +193,4 @@ JULIA_PROJECT=<path> scripts/larvatagger.jl train
```
with `<path>` the path of the Julia project with TaggingBackends installed.
Note however that the last command above will not work if Julia was installed using juliaup. Prefer [jill](https://pypi.org/project/jill/).
......@@ -14,7 +14,7 @@ JULIA_PROJECT = os.environ.get('JULIA_PROJECT', '')
try:
from julia import Julia
Julia(compiled_modules=False)
except ImportError:
except:
logging.warning(f"PyCall not found in JULIA_PROJECT={JULIA_PROJECT}; \
please see https://gitlab.pasteur.fr/nyx/TaggingBackends#recommended-installation")
else:
......@@ -155,6 +155,9 @@ Cannot find any Python package in project root directory:
logger.info("\n".join(lines))
log(line[len(prefix):].lstrip())
return []
if line.startswith(" warn(") or line.startswith(" warnings.warn("):
pass
else:
lines.append(line)
return lines
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment