forked from HelikarLab/candis
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
created RIA base with additional components
- Loading branch information
1 parent
a916cf2
commit df86a89
Showing
131 changed files
with
34,091 additions
and
325 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"presets": ["env", "react"] | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,11 @@ | ||
# virtualenv | ||
.venv | ||
|
||
# misc | ||
TODO.md | ||
# docs | ||
docs/build | ||
|
||
# Dependencies | ||
node_modules | ||
|
||
# Cache | ||
.sass-cache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,45 @@ | ||
PYTHON = python | ||
.PHONY: docs | ||
|
||
PYTHON ?= python | ||
BASEDIR = $(realpath .) | ||
SOURCEDIR = $(realpath candis) | ||
DOCSDIR = $(realpath docs) | ||
|
||
HOST = 0.0.0.0 | ||
PORT ?= 5000 | ||
|
||
install: | ||
cat requirements/*.txt > requirements.txt | ||
|
||
pip install -r requirements.txt | ||
|
||
loc: | ||
find $(SOURCEDIR) -name '*.py' | xargs wc -l | ||
npm install . | ||
|
||
clean: | ||
find $(BASEDIR) | grep -E "__pycache__" | xargs rm -rf | ||
|
||
rm -rf .sass-cache | ||
|
||
clear | ||
|
||
gui: | ||
$(PYTHON) -B -c 'import candis; candis.app.main();' | ||
docs: | ||
cd $(DOCSDIR) && make html | ||
|
||
kill: | ||
fuser -k $(PORT)/tcp | ||
|
||
run: | ||
make kill | ||
|
||
$(PYTHON) -B -m candis & $(PYTHON) -B -m build & npm start | ||
|
||
loc: | ||
( find $(SOURCEDIR) -name "*.py" -print0 | xargs -0 cat ) | wc -l | ||
|
||
analyse: | ||
# flake8 $(SOURCEDIR) | ||
|
||
make loc | ||
|
||
all: | ||
make clean install | ||
make clean install docs run |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# module - build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# imports - standard imports | ||
import sys, os | ||
import json | ||
|
||
# imports - third-party imports | ||
from candis.config import CONFIG | ||
from candis.resource import R | ||
|
||
def main(args = None): | ||
code = os.EX_OK | ||
|
||
path = os.path.join(R.Path.APP, 'client/app/Config.json') | ||
dikt = CONFIG.App.schema | ||
|
||
with open(path, 'w') as f: | ||
json.dump(dikt, f) | ||
|
||
return code | ||
|
||
if __name__ == '__main__': | ||
args = sys.argv[1:] | ||
code = main(args) | ||
|
||
sys.exit(code) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,7 @@ | ||
# module - candis | ||
from candis.util import get_version_str | ||
from candis.config import BaseConfig | ||
from candis.cli import main | ||
from candis.config import Config, get_config, CONFIG | ||
from candis.manager import Cache | ||
from candis.data import entrez | ||
from candis.cli import main | ||
|
||
# STUB | ||
from candis import app | ||
# end STUB | ||
|
||
__version__ = get_version_str(BaseConfig.VERSION) | ||
__version__ = CONFIG.VERSION |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
# module - candis.app | ||
from candis.app.app import App | ||
from candis.app.server import app | ||
from candis.app.main import main | ||
|
||
from candis.app.window import MainWindow |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
.no-margin { | ||
margin: 0 !important; } | ||
|
||
.no-decoration, a { | ||
text-decoration: none !important; } | ||
|
||
body { | ||
font-family: "Roboto"; } | ||
|
||
.font-bold { | ||
font-weight: 700; } | ||
|
||
.font-heavy { | ||
font-weight: 900; } |
File renamed without changes.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file renamed
BIN
+4.13 KB
candis/app/assets/img/icons/file.png → candis/app/assets/img/icon/file.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.