Knowledge-Graph-Hub / automate-pheno-comparisons

Jenkins-based automation of phenotype semantic similarity on PHENIO with Semsimian.
BSD 3-Clause "New" or "Revised" License
2 stars 0 forks source link

Call to s3cmd fails with "nothing to upload" #24

Closed caufieldjh closed 5 months ago

caufieldjh commented 5 months ago

In the most recent build process, the first build (HP vs HP using PHENIO) goes as expected, which is great! But the subsequent build (HP vs HP using HP alone) fails with this error:

23:48:41  + s3cmd -c **** put -pr --acl-public --cf-invalidate HP_vs_HP_semsimian_hp.tsv.tar.gz s3://kg-hub-public-data/monarch/semsim/
23:48:42  ERROR: Parameter problem: Nothing to upload.

The issue is that the compressed file isn't getting named correctly: it's named as HP_VS_HP_PREFIX_ONTOONLY.tsv.tar.gz rather than ${HP_VS_HP_PREFIX_ONTOONLY}.tsv.tar.gz