Tower APi call gives: contains uncommitted changes -- Cannot switch to revision
replikation opened this issue · comments
Christian Brandt commented
Hi,
when doing an API call to the tower (which was previously working with the git repository), we now get this error message:
Execution failed: generic::failed_precondition: while running "nf-workflow-36Os6uMuBvpKiR": unexpected exit status 1 was not ignored
N E X T F L O W ~ version 22.09.5-edge
Pulling username/repository ...
downloaded from https://github.com/username/repository.git
Project `username/repository` contains uncommitted changes -- Cannot switch to revision: 58e5fdf489702382b9823174cf7595f09023e582
when I run nextflow locally, I would just remove the ~/.nextflow dir, but since it's an API call, I can't do that. or did I miss something?
Also is it possible the pin/lock the nextflow version and/or API version to use, as this might have caused the issue?
Thank you
Christian Brandt commented
the detached head seemed to have caused the issue.