tomwer.core.utils.spec.rebaseParFile#
- tomwer.core.utils.spec.rebaseParFile(_file, oldfolder, newfolder)#
Update the given .par file to replace oldfolder location by the newfolder.
Warning
make the replacement in place.
- Parameters:
_file – par file to update
oldfolder – previous location of the .par file
newfolder – new location of the .par file