Closed Acribbs closed 3 years ago
@sebastian-luna-valero, looks like Mac tests break with the latest version of scipy. Have temp pinned for the moment. im going to play around with the import tests and see if I can work out where the circular import is coming from.
So it seems like I found the circular import and corrected it. All tests seem to pass.
In summary of the changes I have made:
Lots of issues that have been spotted by migrating to actions and I think it's a lot easier to manage testing now.
@sebastian-luna-valero If you could have a quick review and merge if your happy. Thanks.
Looks like new version of pysam gives different output for certain scripts. May revisit this in time and identify the issue.
Hi @sebastian-luna-valero, this one has been trickier.
I found issues with the way we are cythonizing our code. I fixed this by setting the language to 3chr during cythonization in setup.py and fixing a few bug fixes in the pyx files.
However, testing the imports leads to cgat.NCL failures:
I just cant see the circular import issue though. Maybe a fresh pair of eyes can help.
I removed the test_import and tests pass for linux but fail for osx:
Looks like this is to do with numpy or scipy issues. Not sure if you know of a fix?
Lastly, I will need to re-write the test_commandline.py because I changed the option parser to argparser (a while ago) and travis never caught this. Not sure why, but the travis testing looks like its been broken for a while and now it doesn't even install the correct Conda environment. However, I was thinking that this test isn't probably required because we are testing this by running test_scripts.py anyway.