Skip to content

Commit

Permalink
[MAJOR] added CDATA to ARFF convertor, added Pipeline RIA visuals, mi…
Browse files Browse the repository at this point in the history
…nor updates to RIA, removed unnecessary fetch files. [WIP] Mapping CLI API to the RIA
  • Loading branch information
achillesrasquinha committed Jul 30, 2017
1 parent 9f1d10b commit 4ae5621
Show file tree
Hide file tree
Showing 73 changed files with 159,582 additions and 110,974 deletions.
2 changes: 1 addition & 1 deletion .babelrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"presets": ["env", "react"],
"plugins": ["react-hot-loader/babel", "transform-object-rest-spread"]
"plugins": ["transform-object-rest-spread"]
}
File renamed without changes
Binary file removed .github/ria.gif
Binary file not shown.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ npm-debug.log
CRES
snippet
.DS_Store
.tmp_eset
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@ docs:
cd $(DOCSDIR) && make html

kill:
fuser -k $(SERVER_PORT)/tcp
lsof -i TCP:$(SERVER_PORT) | grep LISTEN | awk '{print $2}' | xargs kill -9

sass:
sass $(SOURCEDIR)/app/client/styles/App.scss:$(SOURCEDIR)/app/assets/css/styles.min.css --sourcemap=none --style compressed

run:
$(PYTHON) -m $(PACKAGE) & npm start
npm start & $(PYTHON) -m $(PACKAGE)

loc:
( find $(SOURCEDIR) -name "*.py" -print0 | xargs -0 cat ) | wc -l
Expand Down
23 changes: 22 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div align="center">
<img src=".github/logo-title.png" width="512">
<img src=".github/logo-w-title.png" width="512">
</div>

---
Expand Down Expand Up @@ -27,6 +27,7 @@
### Table of Contents
* [Installation](#installation)
* [Usage](#usage)
* [Features](#features)
* [Dependencies](#dependencies)
* [License](#license)

Expand Down Expand Up @@ -64,12 +65,32 @@ via Python
>>> candis.main()
```

**Using the CLI (Command Line Interface)**

```
$ candis --cdata path/to/data.cdata --config path/to/config.json
```

### Features
* Converting a CDATA (with paths to DNA microarray files) to an **ARFF** file

```python
>>> import candis
>>> cdata = candis.cdata.read('path/to/data.cdata')
```

Then, simply use the `CData.toARFF` API:
```python
>>> cdata.toARFF('path/to/data.arff')
```

### Demo
Check out a live demo of the application [here](https://cancerdiscover.herokuapp.com).

### Dependencies
* Production Dependencies
* R
* WEKA (***NOTE:*** Requires Java)
* Python 2.7+ or Python 3.5+
* Development Dependencies
* [Node.js](https://nodejs.org)
Expand Down
3 changes: 1 addition & 2 deletions TODO.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div align="center">
<img src=".github/logo.png" width="512">
<img src=".github/logo-w-title.png" width="512">
</div>

---
Expand Down Expand Up @@ -31,7 +31,6 @@
* [ ] Documentation

* #### Low Priority
* [x] Authentication Flow
* [ ] Settings Dialog and Manager
* [ ] Handling multiple tabs on Document Processor (Add Horizontal Scroll)
* [ ] Random Forest Icon
Expand Down
8 changes: 4 additions & 4 deletions candis/__init__.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# module - candis
from candis.config import Config, get_config, CONFIG
from candis.manager import Cache
from candis.ios import cdata, pipeline
from candis.config import Config, get_config, CONFIG
from candis.ios import cdata, pipeline
from candis.ios.cdata import CData
# candis.cli
from candis.cli import main
from candis.cli import main

__version__ = CONFIG.VERSION
2 changes: 1 addition & 1 deletion candis/app/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# module - candis.app
from candis.app.server import app
from candis.app.main import main
from candis.app.main import main
2 changes: 1 addition & 1 deletion candis/app/assets/css/styles.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Empty file.
File renamed without changes
Loading

0 comments on commit 4ae5621

Please sign in to comment.