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

Import (Bruker NMR data) fails #2

Open
rrueedi opened this issue Jul 26, 2018 · 12 comments
Open

Import (Bruker NMR data) fails #2

rrueedi opened this issue Jul 26, 2018 · 12 comments

Comments

@rrueedi
Copy link
Member

rrueedi commented Jul 26, 2018

With error

2018-07-26T13:04:28.224165487Z python: can't open file '/export/tools/phenomenal/nmr/tamenmr/import2csv.py': [Errno 2] No such file or directory

@c-ruttkies
Copy link
Member

c-ruttkies commented Jul 31, 2018

With a quick look at the Dockerfile I guess the problem is here:

for i in $(find tameNMR/tameNMR -name *.R); do install -m755 $i /usr/local/bin; done

This command only puts R-Scripts in the PATH. Python scripts aren't put there.

@c-ruttkies
Copy link
Member

I don't find the python scripts used in ident.xml and quant.xml. Is this an issue @ArturasG ?

@c-ruttkies
Copy link
Member

c-ruttkies commented Aug 1, 2018

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.
Please also refer to https://github.com/PGB-LIV/tameNMR/issues

I would be happy to help fixing the issues.

@ArturasG
Copy link
Contributor

ArturasG commented Dec 2, 2018 via email

@ilveroluca
Copy link
Member

ilveroluca commented Dec 2, 2018 via email

@ArturasG
Copy link
Contributor

ArturasG commented Dec 3, 2018 via email

@ilveroluca
Copy link
Member

ilveroluca commented Dec 18, 2018

Hi Arturas. I'm afraid one of the main issues with this container was the fact that it's missing tests (maybe @c-ruttkies, who helped with PR #315, remembers better). We need the runTest1.sh script to implement an automatic test that fetches one or more datasets, runs the tool and verifies that the output is as expected. If you look at runTest1.sh in container-tamenmr you'll see that it merely loads a library.

Here's a relatively simple runTest1.sh you could use as a model:
https://github.com/phnmnl/container-nmr-integrals/blob/master/runTest1.sh

Do you think we could implement a data-based test for tamenmr? If you need help with some things (e.g., where to put data sets so that they can be downloaded by the test) let us know.

Luca

@korseby
Copy link
Member

korseby commented Dec 18, 2018

I bring myself into the loop :)

@ilveroluca
Copy link
Member

👍 :-)

@ArturasG
Copy link
Contributor

ArturasG commented Dec 18, 2018 via email

@ilveroluca
Copy link
Member

No problem. This test will enable continuous integration testing of the container, meaning that any change pushed to the repository's main branches (usually master and develop) will be tested automatically by Jenkins before the new image is made available.

Happy holidays :-)

@ArturasG
Copy link
Contributor

Hi Luca,

I have at last found some time to implement the automated tests for tameNMR (and a few other fixes). I have also made a separate repository for a tameNMR version for PhenoMeNal so it doesn't clash with out local version. I have build the Docker container from the current develop branch and ran the tests from within the container. Everything seems to run fine.

What next steps do I need to take?

Many thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants