Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
204 commits
Select commit Hold shift + click to select a range
faa2875
Merged in upstream changes to widget.py
chkothe Aug 28, 2015
770f874
Cleared out existing offline Orange nodes.
chkothe Aug 28, 2015
bcc7898
Fixed toolbar orientation.
chkothe Aug 28, 2015
39b9271
Changed startup dialog title to Welcome to NeuroPyPE.
chkothe Aug 28, 2015
72c03bd
Hooked up Aaron's quickstart wizard machinery.
chkothe Aug 28, 2015
4c66d4b
Freeze action is now by default enabled.
chkothe Aug 28, 2015
3d57bc4
Added the NeuroPypeSignalManager and made it the default signal manager.
chkothe Aug 28, 2015
7371a6a
Updated canvas icon.
chkothe Aug 28, 2015
a0e2f75
Added support for tracking changes to numpy array types in GUI.
chkothe Aug 28, 2015
8261cac
Merged the ability to clear widget settings from orange upstream.
chkothe Aug 28, 2015
f838235
Working on the widget generation script (in progres...)
chkothe Aug 28, 2015
3ceffaf
Added icons and updated regenerate_widgets script.
chkothe Sep 1, 2015
39e7dbc
Finished widget auto-gen script, generated widgets for all current no…
chkothe Sep 1, 2015
34a8d0c
More updates.
chkothe Sep 1, 2015
ed65df9
Changed the way widgets are cleared initially to be a little more in …
chkothe Sep 1, 2015
fe04e1e
Made sure that new schemes are always opened in frozen mode.
chkothe Sep 1, 2015
e2a8f75
Updated install instructions.
chkothe Sep 1, 2015
fa11907
Fixed builtin/explicit flag handling in GUI generation & regenerated …
chkothe Sep 1, 2015
32507df
Regenerated widgets after addition of visualization category.
chkothe Sep 2, 2015
813927b
Updated installation instructions.
chkothe Sep 3, 2015
9df51ed
Added widget tooltips, regenerated.
chkothe Sep 3, 2015
c9eee6c
Added SpectrumPlot, removed requirement to enter strings in quotes in…
chkothe Sep 3, 2015
3a54e2d
Refactored widget classes (introduced new base class CPEWidget that h…
chkothe Sep 3, 2015
107f85c
Added support for combo-boxes to display multi-option ports.
chkothe Sep 3, 2015
f78dfff
Updated some node/port documentation.
chkothe Sep 3, 2015
e0d86e4
Redid widgets.
chkothe Sep 5, 2015
48f6da1
Added a bit of code that will look for the CPE in a default location …
chkothe Sep 5, 2015
8ce736b
Added support for abstract timebase in OverrideTimestamps.
chkothe Sep 5, 2015
3cf3530
Fixed a problem with randomized combobox field order due to dicts in …
chkothe Sep 5, 2015
d808d8f
No longer tracking auto-generated files.
chkothe Sep 5, 2015
63e5710
Updated installation docs.
chkothe Sep 6, 2015
730e481
Updated to regenerate script.
chkothe Sep 7, 2015
6183665
Updated install instructions.
chkothe Sep 23, 2015
2f897fa
Updated gitignore.
chkothe Sep 23, 2015
3d73ef1
Updated Neuropype branding.
chkothe Sep 25, 2015
901e76b
Changed layout grid size from 150px to 100px.
chkothe Sep 28, 2015
d778c36
Updated and beautified quickstart wizards.
chkothe Sep 28, 2015
8e85572
Added relaxation quickstart wizard.
chkothe Sep 28, 2015
02a72f9
Added motor imagery quickstart wizard and basic CSP node.
chkothe Sep 28, 2015
afa1900
Another beautification.
chkothe Sep 28, 2015
1c6e777
Removed bottlechest from requirements (was used in an orange piece no…
chkothe Sep 29, 2015
dfa3909
Updated install instructions and setup.py
chkothe Sep 29, 2015
a3d55e3
Added launch script and updated splash screen.
chkothe Sep 29, 2015
2effd0e
Added icon file and update launch script.
chkothe Sep 29, 2015
19124a9
Updated install instructions.
chkothe Sep 29, 2015
37bf08d
Updated MeasureLoss widget (using ConfusionMatrix).
chkothe Oct 1, 2015
d29a8fc
Updated gitignore.
chkothe Oct 1, 2015
c421d1b
Updated icons and gitignore.
chkothe Oct 1, 2015
fee0b03
Added TimeSeriesPlot icon as well.
chkothe Oct 1, 2015
7d40fae
Added some icons, not done yet
Oct 1, 2015
67aa34b
added some icons, but not done yet
Oct 1, 2015
634d43b
First stab at getting the installer venv right.
chkothe Oct 1, 2015
fe680a8
Second stab at installer..
chkothe Oct 1, 2015
a8db93e
Windows installer, third take.
chkothe Oct 1, 2015
c6cc56a
Merge branch 'realtime' of https://github.com/qusp/orange3 into realtime
chkothe Oct 1, 2015
3095564
Updated readme.
chkothe Oct 1, 2015
b851347
Some more changes to installer creation process.
chkothe Oct 2, 2015
79156cb
Added icons for all URGENT-marked nodes.
Oct 11, 2015
b9c840f
Now gracefully handling import of nodes for which source code couldn'…
chkothe Oct 13, 2015
183001f
When saving to .ows this will automatically embed a JSON-encoded patc…
chkothe Oct 13, 2015
d6a69d8
Updated relaxation QS wizard.
chkothe Oct 13, 2015
e30e30f
Added the ability to export the given workflow to a standalone Python…
chkothe Oct 14, 2015
1fce31a
Added icon for ConcentrationIndexDual node.
chkothe Oct 15, 2015
ad4beeb
Fixed export file name handling.
chkothe Oct 15, 2015
38c8917
Added a few element-wise icons and tried to fix LarssRegression message
Oct 15, 2015
f0dd634
icons made for all elementwise nodes.
Oct 15, 2015
dfbb9b3
link to symbol removed for LarsRegression.svg
Oct 15, 2015
2430da7
Changed spelling of NeuroPype and finished branding.
chkothe Oct 17, 2015
4ffd1c4
Redirected tutorial and documentation actions to point to website.
chkothe Oct 17, 2015
5439929
Fixed bug in setup_qt.py (was not correctly setting up qt.conf, causi…
chkothe Oct 17, 2015
b12a212
Added extras scripts to installer package.
chkothe Oct 17, 2015
993299c
Updated installer to clean up after itself and tweaked some details. …
chkothe Oct 17, 2015
6fad38b
Added visualizers to two of the qs wizards.
chkothe Oct 17, 2015
e1d28e6
Fixed a bug in the relaxation wizard.
chkothe Oct 17, 2015
da7d713
Fixed bugs in calibration example script.
chkothe Oct 17, 2015
5f0fe81
Fixed bugs in motorimagery bar example script.
chkothe Oct 17, 2015
93b72f9
Fixed a bug in the motor imagery wizard (was assuming marker-locked c…
chkothe Oct 18, 2015
208dcac
Added Lab Recorder to NeuroPype start menu group.
chkothe Oct 18, 2015
4913407
Added batchPackets icon, all Community nodes should be there by now.
Oct 18, 2015
bd47b34
Removed widget discovery features.
chkothe Oct 19, 2015
208325f
Updated the extras included with the installer.
chkothe Oct 19, 2015
268a82a
Merge branch 'realtime' of https://github.com/qusp/orange3 into realtime
chkothe Oct 19, 2015
1685986
Disabled two noisy log messages that look like errors
chkothe Oct 19, 2015
fe58519
Updated source release instructions and updated the link to the relea…
chkothe Oct 19, 2015
68d3412
Updated about dialog.
chkothe Oct 23, 2015
fc210bd
Fixed up some icons/graphics.
chkothe Oct 23, 2015
1b29acb
Renamed Syntrogi to Qusp, some more graphics updates.
chkothe Oct 23, 2015
e1e1fe9
Replaced documentation links to point to local copies of relevant doc…
chkothe Oct 23, 2015
d70b221
Updated license.
chkothe Oct 23, 2015
3410197
Updated quickstart wizards to use the new auto-scaling feature in Tim…
chkothe Oct 23, 2015
08a57fa
Fixed license (removed signature table)
chkothe Oct 23, 2015
abf1349
Reverted an regression in the widget template.
chkothe Oct 23, 2015
1651190
Fixed moving Welch Avereage, Turned all fonts to outlines and added E…
Oct 24, 2015
37a1bb9
fixed welch and other stuff
Oct 24, 2015
80498f9
Added ability to reload latest scheme (by using the name "latest" in …
chkothe Oct 25, 2015
10daa21
Merge branch 'realtime' of https://github.com/qusp/orange3 into realtime
chkothe Oct 25, 2015
b8d92b3
Added a workaround to the Orange GUI to handle uninitialized bool pro…
chkothe Oct 25, 2015
122e7b1
Added a fix for a case where GUI entries would sometimes successfully…
chkothe Oct 25, 2015
b541567
Added source_space category to gitignore.
chkothe Oct 30, 2015
41c90b1
Updated calibration example script to emit begin/end markers.
chkothe Oct 30, 2015
98b5250
Updated calibration script to be more flexible (multi-class and other…
chkothe Oct 31, 2015
bc69834
Added a few Source localization icons
Nov 2, 2015
8aa7c7a
More icons added.
Nov 2, 2015
6c1385f
More icons
Nov 4, 2015
4dbf5d9
add icons except for LATER FOR LAUNCH made.
Nov 5, 2015
e202f8d
updated one icon and added one
Nov 6, 2015
22b407b
Changed the zoom operation to zoom out rather than in.
chkothe Nov 25, 2015
c0093dc
Added ability to have numpy math expressions in parameter edits (e.g.…
chkothe Mar 22, 2016
299544a
Excluding .idea and venv folders from generate_file_list for installe…
chkothe Mar 22, 2016
7dd3089
Tooltips for VPE widget parameters are now automatically word-wrapped.
chkothe Mar 22, 2016
8e03d53
Improved installer creation instructions and the script that generate…
chkothe Mar 23, 2016
59c7ea5
Included 64-bit installer script to exclusion list of generate_file_l…
chkothe Mar 23, 2016
017bb38
Fixed up 64-bit install location
chkothe Mar 23, 2016
0cd042d
Updated install location.
chkothe Mar 24, 2016
2ff2e76
- Updated quickstart wizards to reflect latest added features.
chkothe Apr 24, 2016
63d66e9
Added all the icons needed for Community edition release
Apr 27, 2016
81cc72f
Renamed category-elementwise.
chkothe Apr 27, 2016
477fdfc
fixed checkMonotonic icons and added a circular mask annd transparenc…
Apr 27, 2016
fbbc570
Cropped outside of AddNoise circle
Apr 28, 2016
d69c07b
Added connectivity and MVAR icons.
May 8, 2016
6292a74
Added the spectral density node based on VAR
May 9, 2016
43dbac7
Renamed icons to match node set.
chkothe May 14, 2016
9d80db8
Added on_update hook for node removal.
chkothe May 14, 2016
197bee3
Added cortext and connectivity icons
May 14, 2016
62e149e
Added connectivity category icon.
May 14, 2016
ced9dd7
Removed stale item from install instructions.
chkothe May 27, 2016
feb8f94
Worked around an issue with the Orange resource loading process....
chkothe May 27, 2016
8f7e6e4
Added the ability to specify a placeholder on the orange cmdline to c…
chkothe May 27, 2016
daa9628
Merge remote-tracking branch 'origin/realtime' into realtime
chkothe May 27, 2016
7183adb
Updated install instructions.
chkothe May 29, 2016
11f90a9
Update to .gitignore and install creation instructions
chkothe May 29, 2016
863b377
Typo.
chkothe May 29, 2016
a911d84
Added all icons except multiplex and demultiplex
Jun 11, 2016
dd53a21
Renamed some of the new widgets to match node names
chkothe Jun 15, 2016
59a42e3
Added multiplex and demultiplixed icons.
Jun 11, 2016
2ffe4ca
extra circles in two icons fixed.
Jun 15, 2016
49f5067
Added a check to make sure a node was not an abstract base class befo…
cboulay Aug 2, 2016
3253834
Updated installation instructions.
chkothe Aug 15, 2016
a16fe07
Updated installer creation instructions
chkothe Aug 19, 2016
3fd617b
Updated icons
chkothe Aug 23, 2016
85b53a4
Updated some comments.
chkothe Aug 25, 2016
fa6e7da
New iconds added.
Sep 5, 2016
633cdf4
Minor updates
chkothe Sep 5, 2016
4d3df2a
Merge branch 'realtime' of https://github.com/qusp/orange3 into realtime
chkothe Sep 5, 2016
68f85ad
minimal updates to __main__.py
chkothe Sep 5, 2016
c3d01d6
Added external help links and updated license file.
chkothe Sep 5, 2016
180a5b5
Updated Mac homebrew install instructions.
chkothe Sep 5, 2016
b4ce258
Another update.
chkothe Sep 5, 2016
5b56512
More updates.
chkothe Sep 5, 2016
e6a45e2
Reset icon added.
Sep 5, 2016
2e3bd43
Updated install instructions.
chkothe Sep 5, 2016
f0f6870
Added a reset button (reloads the current graph, resets node state)
chkothe Sep 5, 2016
c0471ff
Merge branch 'realtime' of https://github.com/qusp/orange3 into realtime
chkothe Sep 5, 2016
1171611
Scheme now releases widget resources (e.g., file handles, LSL outlets…
chkothe Sep 6, 2016
3c294c4
updated installer generation process for windows:
chkothe Sep 6, 2016
ac708e9
Now referring to online doc links.
chkothe Sep 7, 2016
7d6e35b
Settings applied to one node no longer carry over to newly-created no…
chkothe Sep 7, 2016
e330670
Fixed the issue where .ows files created with older NP versions will …
chkothe Sep 7, 2016
97e5d5f
peak icons added.
Sep 8, 2016
43c4aaf
Updated 32-bit Windows installer to match feature set of the 64-bit one.
chkothe Sep 8, 2016
3d7b38e
Merge branch 'realtime' of https://github.com/qusp/orange3 into realtime
chkothe Sep 8, 2016
6eab079
Added tracebacks to widget loader code
chkothe Sep 9, 2016
feba554
updated installer build instructions
chkothe Sep 9, 2016
834f394
updated install instructions for mac
chkothe Sep 9, 2016
2d7ba31
Merge pull request #2 from cboulay/realtime
chkothe Sep 11, 2016
caa3900
Added support for uploading pypes to neuroscale.
chkothe Sep 19, 2016
718f9b8
Fixed patch upload.
chkothe Sep 19, 2016
82eafd8
Ensuring no duplicate pipelines are created. Also some GUI layout cha…
chkothe Sep 19, 2016
c7d2aca
changed inject calibration data icon
Sep 22, 2016
5539428
Added "Category-SpecialNodes"
Sep 22, 2016
e6a69eb
Added the special-purpose category to the gitignore
chkothe Sep 28, 2016
9ecae58
Cleaned up scheme upload dialog somewhat
chkothe Sep 28, 2016
5817d65
Renamed an icon file to match category name.
chkothe Sep 28, 2016
ecb145f
Added model import/export to GUI. Also uses refactored save/load func…
chkothe Sep 28, 2016
2f8038b
Another update related to saving/loading the graph.
chkothe Sep 28, 2016
98ad327
Adding the LSL panel to the UI
aojeda Sep 29, 2016
5d7c5ff
Covering the case where the channel field is empty
aojeda Sep 29, 2016
e82e8e4
Merge pull request #4 from aojeda/lsl-panel
aojeda Sep 29, 2016
a95012d
Adding 'Ch_' to channel number in case that the channel field is not …
aojeda Sep 29, 2016
265fc79
Showing filename and title in recent list.
chkothe Sep 30, 2016
723a796
Now indicating the current scheme's "calibrating" state in an overlay…
chkothe Sep 30, 2016
e6966ef
Added more tolerant parsing capabilities to ListPort.
chkothe Sep 30, 2016
ce642ff
Renamed some icons.
chkothe Oct 2, 2016
b15b8da
Standardization icon added
Oct 4, 2016
6786524
Updated installer build instructions.
chkothe Oct 4, 2016
2d92a9c
ListPort special treatment for None keyword
aojeda Nov 3, 2016
2ad23c8
ListPort special treatment for None keyword (2)
aojeda Nov 3, 2016
a6ef8d5
ListPort and IntPort special treatment for None keyword
aojeda Nov 3, 2016
7612cf0
resolve the repaint issue on Mac OS, NP-145.
nedaeh Nov 3, 2016
a29a7fa
Merge pull request #7 from nedaeh/realtime
chkothe Nov 3, 2016
6e621c3
Special treatment for None keyword for all port types
aojeda Nov 4, 2016
fc25d80
Merge pull request #6 from aojeda/ListPort
chkothe Nov 4, 2016
07c5659
Adding per-category help text
aojeda Nov 4, 2016
ec4707e
Adding per-category help text (clean)
aojeda Nov 4, 2016
52de99a
Merge pull request #8 from aojeda/per-category-help
chkothe Nov 4, 2016
310f1ae
Adding a tickrate option to the VPE options
aojeda Nov 5, 2016
e6358fc
Added new icons for NeuroPype Enterprise release.
Nov 6, 2016
503aa60
changed elementwise icons to use the 3d cube motif
Nov 6, 2016
bd4a7c2
one more icon change
Nov 6, 2016
b6c26db
Set the tick rate on setup_ui and load_scheme
aojeda Nov 8, 2016
46ddd5f
Merge pull request #9 from aojeda/tickrate
chkothe Nov 8, 2016
d21c0af
Overhaul the quick start wizard.
nedaeh Nov 10, 2016
527c47f
Merge pull request #10 from nedaeh/realtime
chkothe Nov 10, 2016
7577369
Patch upload dialog to remember the last-entered access token & URL
aojeda Nov 11, 2016
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
23 changes: 23 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,26 @@ __pycache__
.pydevproject
.settings/*

# Auto-generated widgets
Orange/widgets/connectivity/*
Orange/widgets/custom/*
Orange/widgets/debugging/*
Orange/widgets/elementwise/*
Orange/widgets/feature_extraction/*
Orange/widgets/fileio/*
Orange/widgets/filters/*
Orange/widgets/formatting/*
Orange/widgets/general/*
Orange/widgets/machine_learning/*
Orange/widgets/network/*
Orange/widgets/spectral/*
Orange/widgets/source_space/*
Orange/widgets/special_purpose/*
Orange/widgets/utilities/*
Orange/widgets/visualization/*
Orange/widgets/workflow/*


# === Virtualenv ===

venv/
238 changes: 238 additions & 0 deletions INSTALLATION
Original file line number Diff line number Diff line change
@@ -0,0 +1,238 @@
Preliminaries
=============

These instructions assume that you have cloned the VPE into a folder named vpe, and checked out the "realtime" branch. This can be accomplished as follows (note that on Windows you may need to install/run the Git Bash to invoke these commands, or do the equivalent with a graphical git front-end):

$ git clone https://github.com/qusp/orange3 vpe
$ git checkout realtime

These instructions also assume that you want to install Python into a virtual environment (virtualenv) to prevent version conflicts with packages needed by other Python software on your computer; if this is no concern for you (e.g., you have no other Python software), you can skip the virtualenv-related steps.


On Linux
========

* note for legacy Ubuntu systems: if the Python 3.4 package is not available on your system, you can first add an external repository to your package manager:
$ sudo add-apt-repository ppa:fkrull/deadsnakes

* make sure that your package list is up to date
(written for Ubuntu):
$ sudo apt-get update

* install the following packages through your package manager (the following list uses the package names for use with apt-get install, tested on Ubuntu 14.10; these may differ for other distributions):
- build-essential
- libblas-dev
- liblapack-dev
- libgmp-dev
- gfortran
- python3
- python3-dev
- python3-pip
- virtualenvpython3-pyqt4

* go to the directory where you placed the vpe:
$ cd /path/to/vpe

* create a virtual environment:
$ pip3 install virtualenv
$ virtualenv venv --python=python3 --system-site-packages

* activate virtual environment:
$ source venv/bin/activate

* install requirements
$ pip install numpy
$ pip install -r vpe/requirements.txt

* clone the CPE repo & install its dependencies into vpe venv:
$ cd ..
$ git clone https://github.com/qusp/cpe
$ git checkout your-branch (could be testing, develop, master, or a tag/release)
$ pip install -r cpe/requirements.txt

* auto-generate widgets for CPE nodes:
$ python vpe/scripts/regenerate_widgets.py --neuropype-path cpe/neuropype
(you can re-invoke this command whenever you have edited your CPE code)

* initialize VPE package
$ cd vpe
$ python setup.py develop

* you can now launch the VPE using the command:
> python -m Orange.canvas --clear-widget-settings

* for a good development experience, we recommend
that you install and set up PyCharm:
* open the vpe folder from PyCharm
* under Settings / Project: vpe / Project Interpreter / Project Interpreter make sure that it picked up the folder path\to\cpe\venv; if it didn't (e.g., older PyCharm version), do the following:
- under Settings / Project: vpe / Project Interpreter / Project Interpreter click the gear icon
- click Add local..., and select the python executable in your cpe/venv/Lib folder.
- accept and close the settings dialog. PyCharm will scan your virtualenv once, which will take a few minutes (see bottom progress bar)
* in the project pane on the left you can now navigate to the file
Orange / canvas / __main__.py, and then right-click and select
"Run '__main__'" to run the VPE (or Debug '__main__' to run it in debug mode)

* to launch from the command line, make sure that you have your venv activated like you did during the installation

* you can also use the launch.sh script in the vpe folder

On Windows
==========

Note that, when you switch between git-related commands and Python-related commands (e.g., pip) on Windows, you will likely have to switch between the git bash and a regular command line (cmd.exe).

* Make sure that you have Python 3.4 installed (preferably the 64-bit version). We assume here that you have it in C:\Python34; otherwise adjust the path in the below instructions.

* create a virtual environment:
> C:\Python34\Scripts\pip3 install virtualenv
> cd path\to\vpe
> C:\Python34\Scripts\virtualenv venv

* activate virtual environment:
> venv\Scripts\activate

* install binary dependencies
* if you are on a 64-bit Python:
> pip install https://github.com/qusp/dependencies/blob/master/python/numpy/numpy-1.9.2+mkl-cp34-none-win_amd64.whl?raw=true
> pip install https://github.com/qusp/dependencies/blob/master/python/scipy/scipy-0.15.1-cp34-none-win_amd64.whl?raw=true
> pip install https://github.com/qusp/dependencies/blob/master/python/pyqt/PyQt4-4.11.3-cp34-none-win_amd64.whl?raw=true
* if you are on a 32-bit Python:
> pip install https://github.com/qusp/dependencies/blob/master/python/numpy/numpy-1.9.2+mkl-cp34-none-win32.whl?raw=true
> pip install https://github.com/qusp/dependencies/blob/master/python/scipy/scipy-0.15.1-cp34-none-win32.whl?raw=true
> pip install https://github.com/qusp/dependencies/blob/master/python/pyqt/PyQt4-4.11.3-cp34-none-win32.whl?raw=true

* install requirements
> pip install -r requirements.txt

* go one step up
> cd ..

* clone CPE & install its dependencies into vpe/venv (unless you already have the cpe and you're installing the vpe into the cpe's venv):
> git clone https://github.com/qusp/cpe
> git checkout your-branch (could be testing, develop, master, or a tag/release)
> pip install -r cpe/requirements.txt

* auto-generate widgets for CPE nodes:
> python vpe\scripts\regenerate_widgets.py --neuropype-path cpe\neuropype
(you can re-invoke this command whenever you have edited your CPE code)

* initialize vpe package
> cd vpe
> python setup.py develop

* you can now launch the VPE using the command:
> python -m Orange.canvas --clear-widget-settings

* for a good development experience, we recommend
that you install and set up PyCharm:
* open the vpe folder from PyCharm
* under Settings / Project: vpe / Project Interpreter / Project Interpreter make sure that it picked up the folder path\to\cpe\venv; if it didn't (e.g., older PyCharm version), do the following:
- under Settings / Project: vpe / Project Interpreter / Project Interpreter click the gear icon
- click Add local..., and select the python executable in your cpe/venv/Lib folder.
- accept and close the settings dialog. PyCharm will scan your virtualenv once, which will take a few minutes (see bottom progress bar)
* in the project pane on the left you can now navigate to the file
Orange / canvas / __main__.py, and then right-click and select
"Run '__main__'" to run the VPE (or Debug '__main__' to run it in debug mode)

* to launch from the command line, make sure that you have your venv activated like you did during the installation

* you can also use the launch.bat file in the vpe folder


On Mac OS
=========

* You will first need to have a compiler toolchain installed. For this, install XCode from the App Store.

* You also need to have xcode command line developer tools, if not yet installed you can activate that by typing the following in the command line (a software update pop up window will open and you can continue the steps from there)
$ xcode-select --install

* Then, install the homebrew package manager by executing the following command:
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

* Now install the science packages and other necessary tools:
$ brew tap homebrew/science

* To ensure that you get the right version of Python (currently 3.4.x), install pyenv (you have to define the Python version, eg. use 3.4.5):
$ brew install pyenv

* also get the virtualenv plugin for pyenv so we can create a virtual environment:
$ brew install pyenv-virtualenv

* Need to modify the profile setting, the required commands are noted at the end of installation process, as shown also below:
$ export PATH=”Users/YOURUSERNAME/.pyenv/bin:$PATH”
$ eval “$(pyenv init -)”
$ eval “$(pyenv virtualenv-init -)”

* install Python 3.4.5:
$ pyenv install 3.4.5

* go to the directory where you placed the source code:
$ cd path_to_NeuroPype_source_code

* make a directory for virtual_env:
$ mkdir virtual_env
$ cd virtual_env

* create a virtual environment:
$ pyenv virtualenv 3.4.5 venv

* activate virtual environment:
$ pyenv activate venv


* download the sip and PyQt4 source code (sip is the glue code generator for PyQt4).
Unpack and install each package, from within your virtual environment, using these commands:

* get the sip and PyQt4 install packages from here:
https://www.riverbankcomputing.com/software/sip/download
https://www.riverbankcomputing.com/software/pyqt/download
* copy and unzip them in the “site-packages” for the python version connected to your venv (it should look like ~/.pyenv/versions/3.x.x/lib/python3.x/site-packages)
* install sip as follows:
$ python configure.py
$ make –j4
$ make install


* for PyQT4 installation, follow similar steps as above with one modifications:
$ python configure-ng.py
$ make -j4
$ make install

* install requirements, change directory to where the NeuroPype source code is located:
$ cd path_to_NeuroPype_source_code
$ pip install numpy
$ pip install -r vpe/requirements.txt

* LSL UPDATE, manually update the LSL package:
$ pip install pylsl==1.10.5

$ pip install -r cpe/requirements.txt

* In case the pyzmq package fails to install correctly, try manually installing the following packages and then retry installing pyzmq.
$ brew install zeromq
$ python -m pip install pyzmq

* auto-generate widgets for CPE nodes:
$ python vpe/scripts/regenerate_widgets.py --neuropype-path cpe/neuropype
(you can re-invoke this command whenever you have edited your CPE code)

* initialize VPE package
$ cd vpe
$ python setup.py develop

* you can now launch the VPE using the command:
$ python -m Orange.canvas --clear-widget-settings

* for a good development experience, we recommend
that you install and setup PyCharm:
* open the vpe folder from PyCharm
* under Preferences / Project: vpe / Project Interpreter / Project Interpreter make sure that from the drop down list choose the one that points to your virtualenv python version; if it didn't (e.g., older PyCharm version), do the following:
- under Settings / Project: vpe / Project Interpreter / Project Interpreter click the gear icon
- click Add local..., and select the python executable in your virtualenv python version.
- accept and close the settings dialog. PyCharm will scan your virtualenv once, which will take a few minutes (see bottom progress bar)
* in the project pane on the left you can now navigate to the file
Orange / canvas / __main__.py, and then right-click and select
"Run '__main__'" to run the VPE (or Debug '__main__' to run it in debug mode)

* to launch from the command line, make sure that you have your venv activated like you did during the installation
3 changes: 3 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
Copyright (c) 2013 Laboratory of Bioinformatics, Faculty of Computer and
Information Science, University of Ljubljana, Slovenia

Copyright (c) 2014-2016 Syntrogi Inc (dba Qusp). All rights reserved.


All rights reserved.

Redistribution and use in source and binary forms, with or without
Expand Down
23 changes: 0 additions & 23 deletions Orange/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,26 +15,3 @@
import warnings
import pkg_resources

alreadyWarned = False
disabledMsg = "Some features will be disabled due to failing modules\n"


def _import(name):
global alreadyWarned
try:
import_module(name, package='Orange')
except ImportError as err:
warnings.warn("%sImporting '%s' failed: %s" %
(disabledMsg if not alreadyWarned else "", name, err),
UserWarning, 2)
alreadyWarned = True


_import(".data")
_import(".feature")
_import(".feature.discretization")
_import(".data.discretization")

del _import
del alreadyWarned
del disabledMsg
4 changes: 3 additions & 1 deletion Orange/canvas/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@
# default resource loader, but it python3 it does not. As a result,
# pkg_resources is unable to select a resource loader and load resources.
# By settings __loader__ to None, we workaround the pkg_resources bug.
__loader__ = None

# for Python 3.4.4 on Windows this line causes loading the orange.qss file to break...
#__loader__ = None
Loading