jbest/powersorter

Urlgen dropping the collection folder from the url

Closed this issue · 4 comments

Testing I found that the link url_gen makes in v3 is
https://web.corral.tacc.utexas.edu/torch/OKLA0101000/OKLA101219_med.jpg
instead of
https://web.corral.tacc.utexas.edu/torch/OKLA/OKLA0101000/OKLA101219_med.jpg
This happened to all three links, not just the Med.

jbest commented

Clay, can you attach the config file you used when encountering this problem?

OKLA.txt

It won't let me attach JSON, so here's it renamed as TXT. The only thing that's changed is the input_path target.

jbest commented

The problem is because in v2 configs we didn't have a web_base for each collection so the general web base for ALL collections was hard coded into the script and the way I calculated the web URL is no longer correct in v3 configs where we specify a web_base unique to each collection.

jbest commented

This has been fixed and merged into main, please test on TACC in dev/powersorter/