Skip to content

Commit

Permalink
Use nice strings for DIMRED_TYPE
Browse files Browse the repository at this point in the history
To be consistent with the V19 migration in `atlas-schemas`.
  • Loading branch information
alfonsomunozpomer authored Jun 13, 2023
1 parent 0ad240f commit bc40ee7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_dimred_load.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ delete_db_scxa_dimred.sh
# do it just for testing

ls ${EXPERIMENT_DIMRED_PATH}/${EXP_ID}.tsne*.tsv | while read -r l; do
export DIMRED_TYPE=tsne
export DIMRED_TYPE=t-SNE
export DIMRED_FILE_PATH=$l
paramval=$(echo "$l" | sed 's/.*[^0-9]\([0-9]*\).tsv/\1/g')
export DIMRED_PARAM_JSON='[{"perplexity": '$paramval'}]'
load_db_scxa_dimred.sh
done

ls ${EXPERIMENT_DIMRED_PATH}/${EXP_ID}.umap*.tsv | while read -r l; do
export DIMRED_TYPE=umap
export DIMRED_TYPE=UMAP
export DIMRED_FILE_PATH=$l
paramval=$(echo "$l" | sed 's/.*[^0-9]\([0-9]*\).tsv/\1/g')
export DIMRED_PARAM_JSON='[{"n_neighbors": '$paramval'}]'
Expand Down

0 comments on commit bc40ee7

Please sign in to comment.