-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
bugSomething isn't workingSomething isn't working
Description
It seems that one has now always to specify explicitly where rack is?
root@6da6703ce11a:/workspace/py-smtag# smtag-convert2th -c 190414 -f 5X_L1200_artice_embeddings -X5 -L1200 -E ".//sd-panel"
ERROR:root:
#######################################################################################################
#
ERROR: PRODUCTION DIRECTORY DOES NOT EXIST
The specified production directory does not exist:
/opt/conda/lib/python3.6/site-packages/smtag-2.0.2-py3.6.egg/rack
In order to configure you production directory use one of this options, sorted by lesser precedence:
1) Set the environment variable `SMTAG_PRODUCTION_DIRECTORY` (check your .env file)
Examples:
SMTAG_PRODUCTION_DIRECTORY='/absolute/path/to/resources_folder' python -m smtag.predict.egine --demo
SMTAG_PRODUCTION_DIRECTORY='./relative/path/to/resources_folder' python -m smtag.predict.egine --demo
2) Set the `--production_directory` flag or its abbreviated version `-p`
Examples:
python -m smtag.predict.egine --demo --production_directory "/absolute/path/to/resources_folder"
python -m smtag.predict.egine --demo -p "./relative/path/to/resources_folder"
3) Set the `smtag.config.prod_dir` programatically
Examples:
import smtag
smtag.config.prod_dir = "/absolute/path/to/resources_folder"
smtag.config.prod_dir = "./relative/path/to/resources_folder"
If none of the above options is specified, the default directory is assumed to be:
/opt/conda/lib/python3.6/site-packages/smtag-2.0.2-py3.6.egg/rack
#
#######################################################################################################
while this works
root@6da6703ce11a:/workspace/py-smtag# smtag-convert2th -c 190414 -f 5X_L1200_artice_embeddings -X5 -L1200 -E ".//sd-panel" -p rack
with
root@6da6703ce11a:/workspace/py-smtag# ls -thl
total 572M
drwxr-xr-x 63 root root 4.0K Aug 6 20:39 runs
drwxr-xr-x 2 root root 4.0K Aug 4 05:56 smtag.egg-info
drwxrwxr-x 2 1002 1002 4.0K Aug 4 05:55 docs
drwxrwxr-x 5 1002 1002 4.0K Jul 23 06:17 vsearch
-rw-rw-r-- 1 1002 1002 1.2K Jul 23 06:08 Dockerfile
drwxrwxr-x 7 1002 1002 4.0K Jul 23 06:08 smtag
drwxr-xr-x 2 root root 4.0K Jul 21 14:34 __pycache__
-rw-rw-r-- 1 1002 1002 2.2K Jul 21 14:13 setup.py
-rwxrwxr-x 1 1002 1002 117 Jul 19 04:31 dck
drwxrwxr-x 10 1002 1002 4.0K Jul 18 20:45 testdir
-rw-r--r-- 1 1002 1002 572M Jul 18 20:41 testdir.zip
drwxrwxr-x 2 1002 1002 4.0K Jul 18 17:31 rack
drwxr-xr-x 2 root root 4.0K Jul 17 16:59 src
drwxrwxr-x 8 1002 1002 4.0K Jul 17 11:19 resources
drwxr-xr-x 2 root root 4.0K Jul 17 04:26 dist
drwxr-xr-x 4 root root 4.0K Jul 9 10:25 build
-rw-rw-r-- 1 1002 1002 1.9K Jul 8 20:22 docker-compose.yml
drwxrwxr-x 2 1002 1002 4.0K Jun 18 07:49 test
-rw-rw-r-- 1 1002 1002 537 Jun 18 07:49 setup.cfg
-rw-rw-r-- 1 1002 1002 42 Jun 18 07:49 LICENSE.txt
-rw-rw-r-- 1 1002 1002 222 Jun 18 07:49 MANIFEST.in
-rw-rw-r-- 1 1002 1002 458 Jun 18 07:49 README.md
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working