Closed Acribbs closed 5 years ago
Hi @AndreasHeger,
Actually this is also happening to intBam function and seems to be related to a commit 3764dec50196a4702bff5fe445b36188481791bb. This line specifically: https://github.com/cgat-developers/cgat-core/blob/master/cgatcore/pipeline/execution.py#L702. Im not entirely sure what is going on, but I will have a further look into this.
This was a cgat core issue and has been resolved with this commit https://github.com/cgat-developers/cgat-core/pull/78
@AndreasHeger has there been any changes recently in ruffus or cgat-core that would change how P.run() executes statements?
In bamstats I have this function:
However, it gives the following error when trying to evaluate the second P.run():
When I rewrite the function to:
It now works, is this expected behaviour?