Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deepcell_mesmer doesn't work on AWS with WAVE and FUSION #56

Closed
FloWuenne opened this issue Feb 15, 2024 · 4 comments · Fixed by #71
Closed

Deepcell_mesmer doesn't work on AWS with WAVE and FUSION #56

FloWuenne opened this issue Feb 15, 2024 · 4 comments · Fixed by #71
Assignees
Labels
bug Something isn't working imaging

Comments

@FloWuenne
Copy link
Collaborator

Description of the bug

The current container used for Deepcell_Mesmer fails on AWS with FUSION and WAVE used for AWSmegatests. This can be fixed by making a custom Mesmer container without an entrypoint.

Command used and terminal output

Error executing process > 'NFCORE_MOLKART:MOLKART:DEEPCELL_MESMER (mem_only)'

Caused by:
  Essential container in task exited

Command executed:

  python /usr/src/app/run_app.py mesmer \
      --squeeze \
      --nuclear-image mem_only_nuclear_gridfilled_clahe.tiff \
      --output-directory . \
      --output-name mem_only_mesmer_mask.tif \
      --membrane-image mem_only_membrane_gridfilled_clahe.tiff \
      --compartment whole-cell --image-mpp 0.138 --nuclear-channel 0
  
  cat <<-END_VERSIONS > versions.yml
  "NFCORE_MOLKART:MOLKART:DEEPCELL_MESMER":
      deepcell_mesmer: 0.4.1
  END_VERSIONS

Command exit status:
  2

Command output:
  (empty)

Command error:
  python: can't open file 'bash': [Errno 2] No such file or directory
  9:43AM INF shutdown filesystem start
  9:43AM INF shutdown filesystem done

Work dir:
  s3://nf-core-awsmegatests/work/molkart/work-7605a53092930a0b65509c64f79834a6c8449e9b/55/ca70aa329b1c92d09ddb282f761d60

Tip: view the complete command output by changing to the process work dir and entering the command `cat .command.out`

Relevant files

No response

System information

grafik
@FloWuenne FloWuenne added the bug Something isn't working label Feb 15, 2024
@FloWuenne FloWuenne self-assigned this Feb 21, 2024
@kbestak
Copy link
Collaborator

kbestak commented Feb 21, 2024

TODO: remove mesmer from full_test config

@FloWuenne
Copy link
Collaborator Author

We can remove it, or replace the container with a custom one that removes the ENTRYPOINT!

@FloWuenne
Copy link
Collaborator Author

This issue should be fixed with nf-core/modules#5195!

@FloWuenne FloWuenne reopened this Apr 18, 2024
@FloWuenne
Copy link
Collaborator Author

@kbestak We still need to update the module in nf-core/molkart though. Ran into this error again today while running the small test on AWS + FUSION!

@FloWuenne FloWuenne linked a pull request Jun 11, 2024 that will close this issue
11 tasks
@kbestak kbestak closed this as completed Jun 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working imaging
Projects
No open projects
Status: No status
Development

Successfully merging a pull request may close this issue.

2 participants