Open acesnik opened 2 months ago
I tested this out on a simple bash commandline.
*.mzML.
Error:
mzml_pathsmust be set. For more information try '--help'
.L[*.mzML
, it returns Glob pattern error: Pattern syntax error near position 1: invalid range pattern
. This might create some undesirable behavior, treating every path as a glob request... What do you think?Yep, sounds good and made the change. :)
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)
https://github.com/lazear/sage/issues/133