MathOnco / valis

Virtual Alignment of pathoLogy Image Series
https://valis.readthedocs.io/en/latest/
MIT License
114 stars 28 forks source link

Will Valis work under Centos 7? #116

Open yaoxiaoxu0630 opened 4 months ago

yaoxiaoxu0630 commented 4 months ago

Hello dear author, I am very interested in your work. I noticed that in the Dockerfile file the use of "FROM ubuntu:latest as builder". However, my OS is Centos 7 and I would like to ask if my device can run your system properly. If not what should I change. Thank you very much! image

cdgatenbee commented 4 months ago

Hi @yaoxiaoxu0630, As far as I understand, FROM ubuntu:latest as builder just sets the environment inside of the Docker container, which is independent of your OS. So, you should be able to use the prebuilt Docker container (here), and/or use the Dockerfile to build the container on your device.

Best, -Chandler

yaoxiaoxu0630 commented 4 months ago

Dear author, hello. Thank you for your patient response. I have set up the corresponding environment, but when I run examples/register_ihc.py, I encounter the following error message. Could you please tell me the reason for this? 1713020298571

cdgatenbee commented 2 months ago

Hi @yaoxiaoxu0630, Apologies for taking so long to get back to you on this issue. Based on the error message, it looks like the version of libvips being used was an older one, as the most recent versions of libvips can read ome.tiff. One option would be to try installing the latest version of libvips in your Docker image. Another option might be to use the valis image as your base, by changing the first line in your Dockerfile to FROM cdgatenbee/valis-wsi as builder. This container also uses Ubuntu, so everything else you had in your Dockerfile should still work. It also already includes the latest version of libvips, and has been tested with the files that were causing the errors above. Please try either of those options out and let me know how it goes.

Best, -Chandler