Skip to content

Commit

Permalink
Merge pull request #113 from KrishnaswamyLab/python_magic2
Browse files Browse the repository at this point in the history
Python magic2
  • Loading branch information
scottgigante authored Jun 30, 2018
2 parents 8490cb2 + 31a469f commit e1829d4
Show file tree
Hide file tree
Showing 99 changed files with 12,210 additions and 4,536 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ python/*.so
python/*.dll
python/*.egg-info
python/magic/__pycache__
python/magic/*.pyc
46 changes: 46 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# R for travis: see documentation at https://docs.travis-ci.com/user/languages/r

language: r
sudo: required
cache: packages

os:
- linux

r:
- oldrel
- release
- devel

cache: packages

env:
global:
- PATH="$HOME/miniconda2/bin:$HOME/miniconda3/bin:$PATH"
- RETICULATE_PYTHON="$HOME/miniconda2/bin/python"

before_install:
- chmod +x travis_setup.sh
- ./travis_setup.sh
- $HOME/miniconda2/bin/pip install --user phate nose2
- $HOME/miniconda3/bin/pip install --user phate nose2
- R -e "install.packages(c('reticulate', 'devtools', 'readr', 'phateR', 'Matrix', 'ggplot2', 'viridis'))"

install:
- cd python
- python2 setup.py install --user
- python3 setup.py install --user
- cd ../Rmagic
- R CMD INSTALL .
- cd ..

script:
- cd Rmagic
- R CMD build .
- travis_wait 30 R CMD check *tar.gz
- cd ../python
- python2 setup.py test
- python3 setup.py test
- cd ..

warnings_are_errors: true
17 changes: 0 additions & 17 deletions R/DESCRIPTION

This file was deleted.

Binary file removed R/EMT_data_R_after_magic.png
Binary file not shown.
Binary file removed R/EMT_data_R_before_magic.png
Binary file not shown.
Binary file removed R/MAGIC Tutorial R-EMT.pptx
Binary file not shown.
3 changes: 0 additions & 3 deletions R/NAMESPACE

This file was deleted.

216 changes: 0 additions & 216 deletions R/R/run_magic.R

This file was deleted.

37 changes: 0 additions & 37 deletions R/man/run_magic.Rd

This file was deleted.

Binary file removed R/optimal_t.pdf
Binary file not shown.
24 changes: 0 additions & 24 deletions R/tests/test_magic.R

This file was deleted.

Loading

0 comments on commit e1829d4

Please sign in to comment.