bryanhanson / readJDX

Import spectroscopic data in the JCAMP-DX format
https://bryanhanson.github.io/readJDX/
8 stars 2 forks source link

set output directory for splitMultiblockDX #16

Closed pstahlhofen closed 1 year ago

pstahlhofen commented 2 years ago

It would be a useful feature to set an output directory for spllitMultiblockDX. That way, the function would not need to fill the current working directory with files.

bryanhanson commented 2 years ago

Are you thinking passing a random path as an argument, or creating a subdir w/i the dir that contains the file being split into pieces?

pstahlhofen commented 2 years ago

I thought maybe one could pass the name of a subdir and then the method would create this inside the current directory and store the new files in it.

bryanhanson commented 2 years ago

Fixed in the devel branch. Please test and report back. Thanks.