We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0fb304 commit 20eb2b8Copy full SHA for 20eb2b8
src/diffpy/labpdfproc/labpdfprocapp.py
@@ -64,8 +64,9 @@ def main():
64
args = get_args()
65
wavelength = WAVELENGTHS[args.anode_type]
66
filepath = Path(args.input_file)
67
- output_dir = Path(args.output_directory) if args.output_directory else Path("corrected")
+ output_dir = Path(args.output_directory).resolve() if args.output_directory else Path.cwd()
68
output_dir.mkdir(parents=True, exist_ok=True)
69
+ args.output_directory = output_dir
70
outfilestem = filepath.stem + "_corrected"
71
corrfilestem = filepath.stem + "_cve"
72
outfile = output_dir / (outfilestem + ".chi")
0 commit comments