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

New JavaScript API #405

Closed
wants to merge 844 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
844 commits
Select commit Hold shift + click to select a range
caedff1
BLD: Add missing files
ElDeveloper Jul 14, 2016
64fb72d
BLD: Cap the scikit-bio versions
ElDeveloper Jul 15, 2016
371c636
BLD: Bump beta to 1
ElDeveloper Jul 15, 2016
2aab2b7
BLD: Fix conda problem
ElDeveloper Jul 15, 2016
e5eea91
BLD: Fix scikit-bio dependencies
ElDeveloper Jul 15, 2016
dc9ba07
BLD: beta 4 🐧🐧🐧🐧
ElDeveloper Jul 15, 2016
2802976
Merge pull request #521 from ElDeveloper/beta-1.0
ElDeveloper Jul 15, 2016
8c2d9ca
DOC: Add SciPy 2016 presentation notebook
ElDeveloper Jul 16, 2016
c91870b
Merge branch 'new-api' of git://github.com/biocore/emperor into autor…
ElDeveloper Jul 16, 2016
b8b1364
ENH: Improve icons for context menus
ElDeveloper Jul 17, 2016
4fcdd5a
Merge pull request #523 from ElDeveloper/autorotation
antgonza Jul 18, 2016
f6819f2
Merge pull request #522 from ElDeveloper/scipy-presentation
mortonjt Jul 19, 2016
3b76b20
DOC: Improve installation documentation
ElDeveloper Jul 19, 2016
504d993
Merge pull request #524 from ElDeveloper/better-docs
antgonza Jul 19, 2016
c300b0f
BUG/WIP: Fix bug with axis reorientation
ElDeveloper Jul 21, 2016
95f0bbc
DOC: Added additional explanatory documentation
ElDeveloper Jul 22, 2016
f6d4725
WIP: Improve rotation of axes
ElDeveloper Jul 25, 2016
105ae0e
BUG: Fix problem with dimension flipping
ElDeveloper Jul 26, 2016
bbf7017
STY: Fix stylistic JavaScript problems
ElDeveloper Jul 27, 2016
27a07c2
TST: Improve tests for decomposition view.
ElDeveloper Jul 27, 2016
006b089
DOC: Add reference to an issue.
ElDeveloper Jul 27, 2016
712638c
TST: A test was leaving a folder un-removed
ElDeveloper Jul 27, 2016
4724385
Merge pull request #527 from ElDeveloper/test-folder
josenavas Jul 27, 2016
2d1bb60
Merge pull request #525 from ElDeveloper/flipping-bug
josenavas Jul 27, 2016
818027c
ENH/API/TST: Surgically add EmperorViewController
ElDeveloper Jul 27, 2016
6b118f7
ENH: Use EmperorViewController in AxesController
ElDeveloper Jul 27, 2016
be627dc
ENH/TST: Add missing checks and getActiveView
ElDeveloper Jul 28, 2016
a9a9cf1
DOC: Fix typos/mistakes
ElDeveloper Jul 28, 2016
bfc5af0
Merge pull request #528 from ElDeveloper/emperor-view-controller
antgonza Jul 28, 2016
de24e67
initial commit
antgonza Sep 6, 2016
e0a09e5
fixing tests
antgonza Sep 7, 2016
a730c2b
HACK: Add extra attribute to denote text
ElDeveloper Sep 7, 2016
9836117
Merge pull request #534 from ElDeveloper/text-monkey-patch
antgonza Sep 7, 2016
0f68b15
Merge branch 'new-api' of git://github.com/biocore/emperor into addin…
antgonza Sep 7, 2016
cc33fc4
WIP
ElDeveloper Sep 8, 2016
c09f870
API: Remove the concept of active views
ElDeveloper Sep 8, 2016
b17ce72
Additional fixes for axes view controller
ElDeveloper Sep 8, 2016
aea1cc1
TST: Fix additional tests
ElDeveloper Sep 8, 2016
2783b6b
MAINT: Better naming
ElDeveloper Sep 8, 2016
88cfe61
adding text
antgonza Sep 9, 2016
1cf1bc5
WIP
ElDeveloper Sep 9, 2016
0b89378
addressing @ElDeveloper comments
antgonza Sep 12, 2016
1983168
fixing tests
antgonza Sep 12, 2016
f8f1711
API: Isolate the abstract base view controller
ElDeveloper Sep 8, 2016
46625a6
Merge pull request #533 from antgonza/adding-svg
ElDeveloper Sep 12, 2016
fa8497c
ENH: Add the ability to load new decompositions
ElDeveloper Sep 14, 2016
b8ef273
ENH: Fix bug where category selection would fail
ElDeveloper Sep 15, 2016
664dfce
ENH: Add working version of refreshMetadata
ElDeveloper Sep 15, 2016
3ed6510
DOC: Formalize docstrings
ElDeveloper Sep 15, 2016
151c0bf
DOC: Add missing documentation to controller.js
ElDeveloper Sep 15, 2016
653db8e
DOC: Add documentation to refresh
ElDeveloper Sep 15, 2016
6aa28a8
TST: Add tests for ScenePlotView3D.refresh
ElDeveloper Sep 15, 2016
c26f97c
DOC: Improve docs for refresh
ElDeveloper Sep 15, 2016
c997a7f
TST: Add tests for a variety of methods
ElDeveloper Sep 16, 2016
ecca57c
DOC: Improve docs.
ElDeveloper Sep 16, 2016
eab2ca3
Merge branch 'new-api' of git://github.com/biocore/emperor into multi…
ElDeveloper Sep 16, 2016
9ff2179
STY: Fix gjslint errors
ElDeveloper Sep 16, 2016
47c38e2
DOC: Standardize documentation
ElDeveloper Sep 16, 2016
681261a
API: Rename refresh to addDecompositionsToScene
ElDeveloper Sep 16, 2016
3447ca0
Merge pull request #535 from ElDeveloper/isolated-abc
antgonza Sep 29, 2016
652f7e9
ENH: Add the ability to display custom axes
ElDeveloper Sep 30, 2016
1f61ff6
ENH: Add tests for custom_axes
ElDeveloper Sep 30, 2016
c38dc6a
Merge branch 'new-api' of git://github.com/biocore/emperor into custo…
ElDeveloper Sep 30, 2016
cb0cacb
Merge branch 'new-api' of git://github.com/biocore/emperor into multi…
ElDeveloper Sep 30, 2016
1a9be92
ENH: Add validate_and_process_custom_axes
ElDeveloper Sep 30, 2016
cd34494
ENH: Fix tests for merge and use validate...
ElDeveloper Sep 30, 2016
7a37541
BUG: Add formatted column name
ElDeveloper Sep 30, 2016
ac626f1
BUG: Bring back the labels
ElDeveloper Sep 30, 2016
1224e9c
DOC: Expand documentation
ElDeveloper Sep 30, 2016
2774758
STY: Flake 8 😡
ElDeveloper Oct 3, 2016
d583e33
ENH: Use numpy better and add extra message
ElDeveloper Oct 3, 2016
255efa9
Merge pull request #537 from ElDeveloper/custom-axes
antgonza Oct 3, 2016
dbbcd7b
PRE-REL: Pre-release for QIIME2 workshop
ElDeveloper Oct 3, 2016
e34208d
Merge pull request #539 from ElDeveloper/beta5-release
antgonza Oct 3, 2016
c507737
Merge pull request #536 from ElDeveloper/multiple-views
mortonjt Oct 6, 2016
746bd73
MAINT: Fix examples
ElDeveloper Oct 6, 2016
ffdbbc3
Merge branch 'new-api' of git://github.com/biocore/emperor into fix-e…
ElDeveloper Oct 6, 2016
a348d9c
Fix examples
ElDeveloper Oct 6, 2016
a6fceac
Merge pull request #541 from ElDeveloper/fix-examples
antgonza Oct 6, 2016
e8bf9d1
ENH/TST: Sort metadata columns
ElDeveloper Oct 13, 2016
ef9dcfb
ENH:Do not initialize grids if N > 1000
ElDeveloper Oct 18, 2016
bb8e154
ENH: Move autorotate updates to render
ElDeveloper Oct 18, 2016
764cf60
ENH: Add special casing for large datasets.
ElDeveloper Oct 20, 2016
7f4fc25
image files
antgonza Nov 4, 2016
ee267cc
Merge pull request #552 from antgonza/emperor-animate
ElDeveloper Nov 5, 2016
03b0a6a
TST/BUG: Fix some broken tests and test setEnabled
ElDeveloper Nov 7, 2016
0e16656
DOC: Better document the name of some tests
ElDeveloper Nov 7, 2016
df1c44a
TST/BUG: Add more tests and fix index.html
ElDeveloper Nov 8, 2016
d338094
TST: Add test for large datasets
ElDeveloper Nov 8, 2016
19149b5
STY: Fix style in tests
ElDeveloper Nov 11, 2016
9c6c42c
ENH: Add the ability to reset controller settings
ElDeveloper Nov 11, 2016
4428506
TST: Add tests for toJSON and fromJSON
ElDeveloper Nov 11, 2016
665f4f8
ENH: Use proper API
ElDeveloper Nov 11, 2016
dfa88ea
ENH: Hide unnecessary controllers
ElDeveloper Nov 11, 2016
e6e0191
DOC: Remove outdated docs
ElDeveloper Nov 11, 2016
d273c6c
DOC: Update readme document
ElDeveloper Nov 11, 2016
4cf86db
DOC: Add placeholders for documentation.
ElDeveloper Nov 11, 2016
6e643bf
BUG: Fix bug with the docs
ElDeveloper Nov 14, 2016
3a1ede5
DOC: Add first pass of the examples document
ElDeveloper Nov 14, 2016
af0c968
DOC: Remove redundant section.
ElDeveloper Nov 14, 2016
3ae45c8
DOC: Add more explanations
ElDeveloper Nov 14, 2016
14c38a3
DOC: Delete outdated files
ElDeveloper Nov 14, 2016
e516a4d
ENH/TST:Disable auto-select metadata and fix tests
ElDeveloper Nov 16, 2016
f39cac8
DOC: Address @antgonza's comments
ElDeveloper Nov 16, 2016
3cd0ff4
Merge pull request #556 from ElDeveloper/new-docs
antgonza Nov 17, 2016
f3c420a
Merge pull request #553 from ElDeveloper/metadata-quick
antgonza Nov 17, 2016
e3b7db3
BUG: Fix problem with '1.0' getting casted to 1
ElDeveloper Nov 17, 2016
4627938
TST: Fix tests for splitNumeric
ElDeveloper Nov 17, 2016
5de3967
TST: Add extra test
ElDeveloper Nov 17, 2016
5216bab
Merge branch 'new-api' of git://github.com/biocore/emperor into gradi…
ElDeveloper Nov 17, 2016
2cdd5f1
TST: Fix tests
ElDeveloper Nov 17, 2016
098dab5
Merge pull request #557 from ElDeveloper/gradients-bug
antgonza Nov 19, 2016
fcb27f0
ENH: Checkboxes no longer require extra click (#558)
ElDeveloper Jan 6, 2017
9d37485
ENH: Add attributes to change width and height (#559)
ElDeveloper Feb 24, 2017
88ca8ab
BLD: Fix failing travis builds (#566)
ElDeveloper Mar 11, 2017
6337189
ENH: Remove the requirement to shift+right click (#565)
ElDeveloper Mar 12, 2017
31ba959
ENH: Add context menu item to recenter the camera (#561)
ElDeveloper Mar 13, 2017
659c367
ENH: Save mapping file and coordinates as JSON
ElDeveloper Mar 29, 2017
fd80e12
BUG: Fix bug with Pandas 0.17.1 💀
ElDeveloper Mar 30, 2017
15c9885
Space normalization (#570)
ElDeveloper Mar 30, 2017
5468479
Merge branch 'new-api' of git://github.com/biocore/emperor into encod…
ElDeveloper Mar 30, 2017
d81c339
Add option to create a large screenshot 📸 (#571)
ElDeveloper Apr 1, 2017
8d4001e
Merge pull request #569 from ElDeveloper/encode-as-json
wasade Apr 3, 2017
7010fb7
BUG: Fix problem with axes labels (#568)
ElDeveloper Apr 3, 2017
e2f50ed
REL: Bump version numbers for beta 6
ElDeveloper Apr 3, 2017
1dc8e7b
Merge pull request #572 from ElDeveloper/beta6-release
wasade Apr 3, 2017
b3435b6
REL: beta6-dev
ElDeveloper Apr 3, 2017
b437623
Merge pull request #573 from ElDeveloper/beta6-dev
ElDeveloper Apr 4, 2017
e178f51
BUG: Fix typo in canvas-toBlob
ElDeveloper Apr 4, 2017
3f99f65
Merge pull request #574 from ElDeveloper/beta7-fixes
ElDeveloper Apr 4, 2017
dda0202
REL: Bump strings for beta 7 (#575)
ElDeveloper Apr 4, 2017
24e21b6
REL: beta7 development cycle (#576)
ElDeveloper Apr 4, 2017
a2d7302
DOC: Update dead link to gigascience (#577)
ElDeveloper Apr 4, 2017
02e0292
BLD: Update THREE.js to r83 (#582)
ElDeveloper Apr 25, 2017
89d5218
BUG: Resolve stable URLs depending on package version (#578)
ElDeveloper Apr 29, 2017
8eef0b5
ENH: Allow users to set custom visualization settings from the Python…
ElDeveloper May 23, 2017
9a476a3
BUG/BLD: Fix problem with labels being clipped (#590)
ElDeveloper May 25, 2017
7bab0df
REL: Release beta8 (#591)
ElDeveloper May 25, 2017
6e37f7f
DEV: Bump version strings to beta8-dev
ElDeveloper Jun 7, 2017
a7a3cf4
Merge pull request #592 from ElDeveloper/devdev-beta8
wasade Jun 8, 2017
d3743ed
ENH: Hide axes labels and lines (#595)
ElDeveloper Jul 21, 2017
604b4e9
ENH: Jackknifed Plots in new-api (#587)
ElDeveloper Aug 8, 2017
70c0283
ENH: UI improvements, tooltips and more!
ElDeveloper Aug 17, 2017
2b9e7ae
ENH: Modify the tooltips for the Axes view
ElDeveloper Aug 17, 2017
1ed2e3d
ENH: Improve tooltip display
ElDeveloper Aug 17, 2017
d7875a7
ENH: Add cursor types to shape and visibility
ElDeveloper Aug 17, 2017
108bc90
ENH: Fix stylistic problems
ElDeveloper Aug 17, 2017
b2b1f5a
ENH: More UI improvements
ElDeveloper Aug 17, 2017
bd25504
Merge pull request #597 from ElDeveloper/ui-improvements
josenavas Aug 24, 2017
16e4471
ENH: Add opacity controller and reorder tabs (#596)
ElDeveloper Aug 25, 2017
ce83f68
Welcome to flatland (add 2D plots) (#600)
ElDeveloper Aug 26, 2017
23ad026
Update three.js and bug fixes (#602)
ElDeveloper Aug 29, 2017
af716a3
REL: Release beta 9 (#603)
ElDeveloper Aug 29, 2017
f1eac48
REL: Bump version strings (#606)
ElDeveloper Sep 19, 2017
1f0e236
BUG: Avoid double/triple/quadruple clicks (#607)
ElDeveloper Sep 20, 2017
d64febe
Adds a banner with number of visible elements (#608)
ElDeveloper Sep 20, 2017
adea42b
REL: Bump version strings to beta10 (#609)
ElDeveloper Sep 21, 2017
a141c4a
REL: Bump version strings (#611)
ElDeveloper Sep 21, 2017
98ee36d
REL: Bump version strings for beta 11
ElDeveloper Sep 25, 2017
c117a8a
BUG: Reference to undeclared variable (#612)
ElDeveloper Sep 25, 2017
6df010c
Merge pull request #613 from ElDeveloper/beta-11
wasade Sep 25, 2017
5b6eed1
Explicitly load underscore.js and bump version strings (#614)
ElDeveloper Oct 30, 2017
122ea06
BUG: Fix bug where plot would rotate slightly (#617)
ElDeveloper Oct 30, 2017
16ea5b0
AnimationsViewController (#619)
ElDeveloper Nov 16, 2017
8fcf68f
Fix tests bug and add the ability to change traces' radius (#622)
ElDeveloper Nov 17, 2017
545fc98
Add color controls for animations controller (#623)
ElDeveloper Nov 20, 2017
fd69b19
REL: bump version strings for beta 12 (#624)
ElDeveloper Nov 20, 2017
3bad55e
REL: Bump version strings to dev (#626)
ElDeveloper Nov 28, 2017
f002f2e
BUG: Fixes a bug in the animations colors (#627)
ElDeveloper Nov 28, 2017
a97f7a6
BUG:Fixes a color distortion for flat-facing geometries (#628)
ElDeveloper Nov 28, 2017
7c3f9e3
ENH: Add ability to resize plot space and menu (#629)
ElDeveloper Nov 29, 2017
6a3b78b
ENH: Copy sample names to clipboard. (#630)
ElDeveloper Nov 29, 2017
1b33b41
REL: Bump to beta 13
ElDeveloper Dec 15, 2017
0bcf67c
Merge pull request #632 from ElDeveloper/beta-13-release
josenavas Dec 15, 2017
5f65c53
BLD: Bump string versions to 13-dev
ElDeveloper Dec 15, 2017
881a38b
Merge pull request #633 from ElDeveloper/beta-13-dev
wasade Dec 15, 2017
2d69390
Porting the animations tutorial (#635)
ElDeveloper Dec 19, 2017
a78ccce
BLD: Fix problem with setup.py and setuptools (#637)
ElDeveloper Dec 21, 2017
9c436e0
TST: Improve unit tests in biplots (#640)
ElDeveloper Feb 9, 2018
6e8a9a9
ENH:Download colormap instead of discrete legend (#638)
ElDeveloper Feb 9, 2018
0f391c0
BUG: Sort unique metadata categories (#639)
ElDeveloper Feb 15, 2018
30e994e
ENH: Add exceptions and tests for missing samples (#636)
ElDeveloper Feb 17, 2018
45b1437
ENH: Add download scree plot button (#641)
ElDeveloper Feb 17, 2018
644e168
BUG: Fix problem with double-click resize (#645)
ElDeveloper Mar 22, 2018
2810907
BUG:Add missing attribute types in settings setter (#651)
ElDeveloper Mar 22, 2018
d33c96b
ENH: Increase text size (#642)
ElDeveloper Mar 22, 2018
0ed04c6
ENH: Warn users when hiding samples from a plot (#643)
ElDeveloper Mar 22, 2018
89ed608
DOC: Improve documentation for standalone plots (#644)
ElDeveloper Mar 23, 2018
9480ef3
ENH: Add button to show context menu (#648)
ElDeveloper Mar 23, 2018
f9bf6c8
BUG: Prevent input propagation in the notebook 📓 (#649)
ElDeveloper Mar 23, 2018
7c2283d
BUG: UI in some buttons wouldn't always update (#653)
ElDeveloper Mar 28, 2018
986f679
ENH: Bump version strings to beta-14 (#654)
ElDeveloper Mar 28, 2018
8720a70
REL: Update to the beta14-dev cycle (#655)
ElDeveloper Mar 31, 2018
faa8bad
Habemus arrow-based biplots (#646)
ElDeveloper Apr 6, 2018
104d355
Procrustes new api (#647)
ElDeveloper Apr 11, 2018
b20ce5f
BUG: Hide edges when hiding visible samples (#662)
ElDeveloper Apr 16, 2018
5a539a5
ENH: Bump version strings for beta15 (#663)
ElDeveloper Apr 18, 2018
9978cce
DEV: Bump version strings (#666)
ElDeveloper Apr 19, 2018
f530eeb
BUG: Fix problem with custom axes (#665)
ElDeveloper Apr 19, 2018
b2fa193
REL: Bump version strings to beta 16
ElDeveloper Apr 20, 2018
91925b5
BUG: Fix problem with label sizes (#667)
ElDeveloper Apr 20, 2018
556247d
Merge pull request #668 from ElDeveloper/beta-16
wasade Apr 20, 2018
41268ab
ENH: Add star geometry to shapes tab (#669)
ElDeveloper Apr 20, 2018
24fea2a
DEV: Bump version string (#672)
ElDeveloper May 7, 2018
480ca86
Minor UI improvements (#674)
ElDeveloper May 22, 2018
424271c
Better notebooks (#675)
ElDeveloper May 22, 2018
c9d787f
Use shaders to render hundreds of thousands of samples with a respons…
ElDeveloper May 29, 2018
323add8
ENH: Minor improvements to biplots UI (#679)
ElDeveloper Jul 30, 2018
bd07221
ENH: Modernize the .travis.yml dependencies
ElDeveloper Aug 2, 2018
dd53d09
Merge pull request #683 from ElDeveloper/travis-updates
wasade Aug 2, 2018
3b7907c
Improvements to label sizes (#681)
ElDeveloper Aug 7, 2018
a99fde7
TST: Add tests for camera recentering (#682)
ElDeveloper Aug 7, 2018
6c422cc
ENH: Add menu item to hide biplot labels (#676)
ElDeveloper Aug 7, 2018
4527bcd
REL: Update to beta 17 (#689)
ElDeveloper Aug 22, 2018
0739ec9
DEV: Bump version string
ElDeveloper Sep 12, 2018
9f5d061
Merge pull request #692 from ElDeveloper/bump-beta-17
wasade Sep 12, 2018
afcc450
Re-organize documentation (#697)
ElDeveloper Oct 4, 2018
a60dd16
BUG: Fix version conflicts with Jupyter deps (#694)
ElDeveloper Oct 31, 2018
e5100c6
BUG: Fix a bug with the red-yellow-blue colormap (#698)
ElDeveloper Oct 31, 2018
b3357e1
REL: Update to beta 18 (#701)
ElDeveloper Oct 31, 2018
7acd4ca
DEV: Bump version strings
ElDeveloper Nov 29, 2018
fc30c9d
STY: Fix new failures from flake8
ElDeveloper Nov 29, 2018
097b654
Merge pull request #702 from ElDeveloper/beta18-dev
wasade Nov 29, 2018
feb8d8b
BUG: Fix a problem with no metadata columns (#703)
ElDeveloper Dec 12, 2018
62e87f4
BLD: General updates to the repository (#693)
ElDeveloper Dec 12, 2018
9a6338e
Fixes problem with the camera not being centered (#706)
ElDeveloper Jan 11, 2019
a93f029
BUG: Fix problem with two-dimensional data (#707)
ElDeveloper Jan 18, 2019
9e98932
ENH: export plot to vega editor (#714)
thermokarst Apr 19, 2019
aa675d2
REL: Bump version strings for release (#713)
ElDeveloper Apr 19, 2019
9eadf16
BLD: bump version string (#718)
ElDeveloper May 23, 2019
067c417
Color (#719)
IRENEYXH May 23, 2019
88fc1c0
BUG: Fix bug with axis inversion in settings (#721)
ElDeveloper Jun 1, 2019
027aa16
BLD: Install requests using conda (#725)
ElDeveloper Jul 31, 2019
c63e8be
Fast Animation (#724)
dhakim87 Aug 16, 2019
490afbd
ENH:Allow for missing features in feature metadata
ElDeveloper Sep 11, 2019
5d4dde0
ENH: Delete unused code from backports and library (#720)
ElDeveloper Sep 11, 2019
bd38e56
Address reviews from @wasade
ElDeveloper Oct 2, 2019
9b4c0bb
ENH: Address @wasade's comment to truncate outptut
ElDeveloper Oct 22, 2019
886e42c
Add a search bar to the controllers (#735)
ElDeveloper Oct 22, 2019
8a530bc
Merge pull request #734 from ElDeveloper/issue-731
wasade Oct 22, 2019
3c7adba
Fix a problem where invisible or transparent objects would be interse…
ElDeveloper Oct 22, 2019
c4c41d5
Parallel Plots (#727)
dhakim87 Oct 23, 2019
d4244ce
STY: Fix some linting issues (#738)
ElDeveloper Oct 24, 2019
c56014e
REL: bump version string for next release (#739)
ElDeveloper Oct 24, 2019
78e9659
Fix raycasting issue (#740)
ElDeveloper Oct 26, 2019
7ff013d
BLD: Bump version string to dev (#745)
ElDeveloper Nov 27, 2019
4775bf9
Fixes issue with slickgrid re-rendering (#746)
ElDeveloper Feb 11, 2020
d666388
BLD: Drop support for Python 2.7 (#752)
ElDeveloper Feb 11, 2020
c275f7e
Fix _removeObjectsWithPrefix For Duplicate Object Names (#755)
ElDeveloper Feb 13, 2020
f291692
BUG: Fixes bug creating SVG legend (#756)
ElDeveloper Feb 13, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,9 @@ pip-log.txt
# autogenerated documentation
doc/source/scripts/
doc/source/generated/

# unwanted files
examples/new-emperor.html
new-emperor.html
.ipynb_checkpoints
doc/jsdoc/
55 changes: 41 additions & 14 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,55 @@
language: python
python:
- "2.7"
- 3.5
- 3.6
# also includes 3.7 (see below)
env:
- NUMPY_VERSION="" WITH_COVERAGE=1 # environment to test with the latest version of NumPy
- NUMPY_VERSION="=1.8"
- NUMPY_VERSION="=1.7"
- NUMPY_VERSION="" # environment to test with the latest version of NumPy
- NUMPY_VERSION="<1.13"

matrix:
# support for python 3.7 is rather awkward via Travis CI
# https://github.com/travis-ci/travis-ci/issues/9815
include:
- python: 3.7
dist: xenial
sudo: true
env: NUMPY_VERSION=""
- python: 3.7
dist: xenial
sudo: true
env: NUMPY_VERSION="<1.13"
exclude:
- python: 3.5
env: NUMPY_VERSION="<1.13"

before_install:
- wget http://repo.continuum.io/miniconda/Miniconda-2.2.2-Linux-x86_64.sh -O miniconda.sh
- chmod +x miniconda.sh
- wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh -O miniconda.sh && chmod +x miniconda.sh
- ./miniconda.sh -b
- export PATH=/home/travis/anaconda/bin:$PATH
- export PATH=/home/travis/miniconda2/bin:$PATH
# Update conda itself
- conda update --yes conda

install:
- conda create --yes -n env_name python=$TRAVIS_PYTHON_VERSION pip numpy${NUMPY_VERSION} scipy matplotlib openpyxl=1.8.2 pandas nose flake8 pep8
- source activate env_name
- pip install sphinx sphinx-bootstrap-theme coverage coveralls
- pip install -e '.[all]'
# gjslint only runs in py27
- conda create --yes -n gjslint python=2.7 pip six
- conda run -n gjslint pip install https://github.com/google/closure-linter/archive/master.zip

# install requests using conda to avoid a distutils error in certifi
- conda create --yes -n travis python=$TRAVIS_PYTHON_VERSION pip numpy${NUMPY_VERSION} 'scipy>=0.17.0' matplotlib pandas flake8 pep8 jupyter coverage cython scikit-learn requests
- source activate travis
- conda install -c conda-forge phantomjs --yes
- pip install 'sphinx<1.6' sphinx-bootstrap-theme coveralls
- pip install -e '.[all]' --verbose
- npm install -g jsdoc

script:
- flake8 emperor/*.py tests/*.py scripts/*.py setup.py
# execute the full test suite
- python tests/all_tests.py --emperor_scripts_dir scripts
# we just check coverage in the latest version of NumPy
- if [ ${WITH_COVERAGE} ]; then nosetests emperor --with-coverage --cover-package=emperor --cover-inclusive tests; fi
- coverage run tests/all_tests.py && coverage report
- make -C doc html

# we can only run gjslint using py27
- conda run -n gjslint gjslint --custom_jsdoc_tags 'module,function,constructs,alias,default' 'emperor/support_files/js/*.js' 'tests/javascript_tests/*.js'
after_success:
- coveralls
8 changes: 5 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Contributing to Emperor

[Emperor](http://biocore.github.io/emperor/) is an open source software package, and we welcome community contributions. You can find the source code and test code for Emperor under public revision control in the Emperor git repository on [GitHub](https://github.com/biocore/emperor). We very much welcome contributions.

This document covers what you should do to get started with contributing to Emperor. You should read this whole document before considering submitting code to Emperor. This will save time for both you and the Emperor developers.
This document covers what you should do to get started with contributing to Emperor. You should read this whole document before considering submitting code to Emperor. This will save time for both you and the Emperor developers.

Type of Submissions
-------------------
Expand Down Expand Up @@ -94,16 +94,18 @@ git push origin my-topic-branch
Coding Guidelines
-----------------

We adhere to the [PEP 8](http://www.python.org/dev/peps/pep-0008/) python coding guidelines for code and documentation standards. Before submitting any code to Emperor, you should read these carefully and apply the guidelines in your code.
For **Python** code, we adhere to the [PEP 8](http://www.python.org/dev/peps/pep-0008/) python coding guidelines for code and documentation standards. For **JavaScript** code, we adhere to the [Google closure](https://google.github.io/styleguide/javascriptguide.xml) javascript coding standards, and use [JSDoc](http://usejsdoc.org/) to compile all javascript documentation. When using the closure linter, we allow the `module`, `function`, `constructs`, `alias`, and `default` custom JSDoc tags. For the most up to date version of the allowed JSDoc tags, see the [Travis configuration file](.travis.yml).

Before submitting any code to Emperor, you should read these carefully and apply the guidelines in your code. As part of our automated testing, we make sure that all code passes linter standards and documentation compiles. We use the [gjslint](https://developers.google.com/closure/utilities/) linter to test javascript code with the `--custom_jsdoc_tags module,function,constructs,alias,default` modifier, and the [flake8](https://pypi.python.org/pypi/flake8) linter to test python code.

Testing Guidelines
------------------

All code that is added to Emperor must be unit tested, and the unit test code must be submitted in the same pull request as the library code that you are submitting. We will only merge code that is unit tested and that passes the [continuous integration build](https://github.com/biocore/emperor/blob/master/.travis.yml), this build verifies that the:

- Full test suite executes without errors (including JavaScript and script usage tests).
- All the code in Emperor is PEP8-compliant.
- All python code in Emperor is PEP8-compliant.
- All javascript code in Emperor is google closure compliant.
- All code is valid in Python 2.7.x.
- The documentation can be built correctly.

Expand Down
9 changes: 7 additions & 2 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
Emperor ChangeLog
=================

Emperor 0.9.51-dev (changes since Emperor 0.9.5 go here)
--------------------------------------------------------
# Emperor 1.0

Introducing Emperor 1.0, an improved and new version of Emperor. Including
a stable Python API and JavaScript API.

Emperor 0.9.51-dev
------------------

### Bug Fixes
* Fix problem where the taxonomic vectors weren't scaled properly when the scale coordinates button was toggled ([#386](https://github.com/biocore/emperor/issues/373).
Expand Down
59 changes: 42 additions & 17 deletions INSTALL.md
Original file line number Diff line number Diff line change
@@ -1,31 +1,56 @@
Emperor Installation Notes
==========================

Emperor is a python package that relies in [QCLI](https://pypi.python.org/pypi/qcli) and [NumPy](http://www.numpy.org). These packages must be installed prior running the `setup.py` script.
Emperor is a Python package that powers a JavaScript-based user interface. The
Python library relies on several packages from the scientific Python stack.

To download Emperor, use [this link](https://github.com/biocore/emperor/archive/master.zip) or use git to get the latest version of the repository:
To install the latest release version of Emperor, you can use `pip` or
`conda`:

git clone git://github.com/biocore/emperor.git
```bash
# with pip
pip install emperor

Installation
============
# with conda
conda install -c bioconda emperor
```

By far the easiest way to install Emperor is running:

pip install emperor
Pre-releases (not compatible with QIIME 1.x)
============================================

In other case, to perform a global installation of Emperor, execute the following command from a terminal session:
If you are interested in using a pre-release version (for example `1.0.0beta`)
you can use `pip` or `conda`:

python setup.py install
```bash
# with pip
pip install emperor --pre

If you do not want to do a global installation, you will have to add the Emperor scripts and libraries to the `PATH` and `PYTHONPATH` environment variables. To add these variables to your `.bash_profile` issue the following terminal commands:

``` bash
echo "export PATH=$HOME/emperor_bin/:$PATH" >> ~/.bash_profile
echo "export PYTHONPATH=$HOME/emperor_lib/:$PYTHONPATH" >> ~/.bash_profile
python setup.py install --install-scripts=~/emperor_bin/ --install-purelib=~/emperor_lib/ --install-lib=~/emperor_lib/
# with conda
conda install -c conda-forge emperor
```

To test for a correct installation, open a new terminal window and issue the following command to see the help of `make_emperor.py`:
Note that we will update these pre-releases as often as it makes sense.

Developers
==========

make_emperor.py -h
If you are planning to do development, we recommend that you clone the git
repository, create a new environment (using `conda` or `virtualenvs`) and then
use `pip install -e` to work on the source code without having to reinstall
when you make editions:

```bash
# fork
git clone git://github.com/YOUR-USERNAME/emperor.git

# if you are using conda
conda create -n emperor-dev scipy numpy pandas matplotlib jupyter

# if you are using virtualenvs
mkvirtualenv emperor-dev && workon emperor-dev

# now install the repository
cd emperor
pip install -e '.[all]'
```
Loading