-
Notifications
You must be signed in to change notification settings - Fork 0
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
Hotfix/py scripts #3
base: develop
Are you sure you want to change the base?
Conversation
Adding the shebang to the python scripts might not be needed as <command interpreter="python"> is set in galaxy/import_to_nmrML.xml and galaxy/import_to_csv.xml. But shouldn't break the tools. |
@c-ruttkies, I tried building the container but I get a series of error. Here is the first one:
Also, the Dockerfile here doesn't follow any of our Dockerfile guidelines |
How did you build the container @ilveroluca ? For me it works fine:
The Dockerfile might need some changes concerning our policies. |
Ah, sorry! I tried building |
I do get this error:
It looks like those R packages weren't installed. Do we have tests to make sure this container works? |
Ah sry as well :) I get the same errors as you mentioned before but the built is successful even though. It's the case for the develop or the hotfix branch (it's generated from the develop). The R-packages are indeed not installed. Any idea @korseby @ArturasG ? Could you also check the error messages mentioned by @ilveroluca in his first comment ? The only test I found is runTest1.sh which is built in Jenkins but could also be improved. |
Removing the reference to the EBI mirror gets us further. I still have a problem with ggplot2:
|
Which R version is this? It is likely that it is outdated. TameNMR depends on speaq which depends on rbase. As updating rbase would also affect (many) other containers I'd like to suggest dropping dependency on speaq and do it from scratch. |
It's R 3.4.4 and it seems that the ggplot2 loads nicely within the container:
|
Try |
Installing rlang seems to solve the issue with ggplot2. What about
and
? I also removed the reference to the EBI mirror when doing install.packages as suggested by @ilveroluca. Is this causing sth. problematic @korseby ? Any reason you used this? |
Please don't use the EBI mirror anymore. It is outdated and faulty. I suggest to manually install nmrglue. There may be an issue with dependencies.
|
I added several test scripts https://github.com/phnmnl/container-tamenmr/tree/hotfix/py-scripts/runTest running the commands from https://github.com/PGB-LIV/tameNMR/tree/master/test/testScripts that are also used for the galaxy wrappers. As several tools are not passing we need to exclude it from the release. I also tested a few galaxy tools which showed problems. I would be happy to help fixing the issues. |
Should fix issue #2.
Untested!