AllenCell / benchmarking_representations

Benchmarking different methods for extracting unsupervised representations from images
Other
0 stars 0 forks source link

CYTODL_CONFIG_PATH should be absolute #28

Closed pgarrison closed 1 week ago

pgarrison commented 1 week ago

Issue

With export CYTODL_CONFIG_PATH=./br/configs/, the path will only be correct if subsequent commands are run from the benchmarking_representations folder (because the . is not automatically expanded to the full path to the current working directory).

Closes #12

Changes

Set an absolute path so that CYTODL_CONFIG_PATH can be used from any folder.

Testing

Only the following:

$ export CYTODL_CONFIG_PATH=./br/configs/
$ echo $CYTODL_CONFIG_PATH               
./br/configs/
$ export CYTODL_CONFIG_PATH=$PWD/br/configs/
$ echo $CYTODL_CONFIG_PATH                  
/home/philip.garrison/workspace/aics/benchmarking_representations/br/configs/