lazear / sage

Proteomics search & quantification so fast that it feels like magic
https://sage-docs.vercel.app
MIT License
201 stars 38 forks source link

Add glob::glob file expansion #134

Open acesnik opened 2 months ago

acesnik commented 2 months ago

https://github.com/lazear/sage/issues/133

acesnik commented 2 months ago

I tested this out on a simple bash commandline.

acesnik commented 2 months ago

Yep, sounds good and made the change. :)

lazear commented 1 month ago

After some quick testing, this appears to break s3 support if the url is specified via CLI - IMO the best way to do this will be to move this logic into the sage-cloudpath crate for now. This would also enable glob paths to work when specified via the JSON configuration file.

We could then implement a method on the CloudPath enum that handles globs for both S3 (via list-objects) and local files (via glob)