When running on Azure Batch, DUMPSOFTWAREVERSIONS fails because the software version of COOLTOOLS_INSULATION is invalid. After getting the file out you can see the software version is an error from matplotlib. We should be able to fix this with better parsing of the software version. I notice it redirects stderr to stdout, we should probably remove this bit to start:
From:
cat <<-END_VERSIONS > versions.yml
"${task.process}":
cooltools: \$(cooltools --version 2>&1 | sed 's/cooltools, version //')
END_VERSIONS
To something like:
cat <<-END_VERSIONS > versions.yml
"${task.process}":
cooltools: \$(cooltools --version | grep 'cooltools, version ' | sed 's/cooltools, version //')
END_VERSIONS
"NFCORE_HIC:HIC:TADS:COOLTOOLS_INSULATION":
cooltools: Matplotlib created a temporary config/cache directory at /tmp/matplotlib-kgw5hr7e because the default path (/home/_azbatchtask_164/.config/matplotlib) is not a writable directory; it is highly recommended to set the MPLCONFIGDIR environment variable to a writable directory, in particular to speed up the import of Matplotlib and to better support multiprocessing.
0.5.1
Description of the bug
When running on Azure Batch, DUMPSOFTWAREVERSIONS fails because the software version of COOLTOOLS_INSULATION is invalid. After getting the file out you can see the software version is an error from matplotlib. We should be able to fix this with better parsing of the software version. I notice it redirects stderr to stdout, we should probably remove this bit to start:
From:
To something like:
Command used and terminal output
Relevant files
The software versions YAML file has this block:
System information
Nextflow: 23.06.0-edge build 5864 Executor: Azure Batch