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

Release/1.0.0 #758

Merged
merged 404 commits into from
Oct 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
404 commits
Select commit Hold shift + click to select a range
5a77d39
#netpyne-92 feat: Fix random color picker
aranega Feb 1, 2023
0209c2c
#netpyne-102 feat: Activate back python test that are working
aranega Feb 3, 2023
f6c735e
#netpyne-102 feat: Use pytest to run tests in installation
aranega Feb 3, 2023
de103cb
control panel tests initial set up
SimaoBolota-MetaCell Feb 8, 2023
3f6076d
netpyne-101 open control panel step
SimaoBolota-MetaCell Feb 8, 2023
94e2ac0
netpyne-101 randomize main network color step
SimaoBolota-MetaCell Feb 8, 2023
ddd2855
netpyne-101 randomize sublevel E network color step
SimaoBolota-MetaCell Feb 8, 2023
033f131
netpyne-101 pick color for I network step
SimaoBolota-MetaCell Feb 8, 2023
b79a196
netpyne-101 changed selectors
SimaoBolota-MetaCell Feb 8, 2023
66342e5
Merge pull request #674 from MetaCell/feature/netpyne-100
ddelpiano Feb 9, 2023
e254ad8
#netpyne-102 feat: Update NEURON version to 8.2.2 for tests
aranega Feb 10, 2023
72e7ce8
Merge remote-tracking branch 'origin/feature/609-file-format-merge' i…
aranega Feb 10, 2023
8279ee5
#netpyne-102 fix: Fix setup.py
aranega Feb 10, 2023
25f3166
Fixed PlotViewer styling
enicolasgomez Feb 14, 2023
5cb31ae
Calling resizeIfNeeded with force parameter on component mount
enicolasgomez Feb 14, 2023
1e276f3
#netpyne-99 feat: Pass "load model" as an action
aranega Feb 14, 2023
1c829a3
#netpyne-99 feat: Add listener and send APP_READY when app is loaded
aranega Feb 14, 2023
ad97e72
#netpyne-99 feat: Add guard to avoid sending two time READY message
aranega Feb 14, 2023
8bda9a0
#netpyne-91: changing nomenclature as discussed at the sprint
ddelpiano Feb 15, 2023
bef2eb9
Merge pull request #678 from MetaCell/feature/netpyne-91_2
ddelpiano Feb 15, 2023
c547b2d
Merge pull request #618 from MetaCell/osb2-dev
ddelpiano Feb 15, 2023
28aaf29
Merge pull request #675 from MetaCell/feature/netpyne-92
ddelpiano Feb 15, 2023
5350849
Merge pull request #645 from MetaCell/dependabot/npm_and_yarn/tests/f…
ddelpiano Feb 15, 2023
c4109cd
Merge branch 'development' into feature/netpyne-102
aranega Feb 15, 2023
1748e15
Merge pull request #676 from MetaCell/feature/netpyne-102
ddelpiano Feb 15, 2023
46375c8
#netpyne-81: fixing build issue
ddelpiano Feb 15, 2023
25a2806
Merge branch 'development' into feature/609-file-format-merge
aranega Feb 15, 2023
413f5a5
#609 fix: Change API call to load model
aranega Feb 15, 2023
245db1c
netpyne-101 added filter results step
SimaoBolota-MetaCell Feb 15, 2023
34dd1ab
netpyne-101 improved selectors
SimaoBolota-MetaCell Feb 15, 2023
95e3aaf
changed the initial step for all tests + test user is now random
SimaoBolota-MetaCell Feb 15, 2023
19b6790
netpyne-101 added test to github actions
SimaoBolota-MetaCell Feb 15, 2023
d994976
netpyne-101 added cmmand for control panel test
SimaoBolota-MetaCell Feb 15, 2023
5fee1ec
Merge branch 'development' into feature/81-plot-styling-3
enicolasgomez Feb 15, 2023
69b9e5f
Merge pull request #679 from MetaCell/feature/81-plot-styling-3
enicolasgomez Feb 15, 2023
284be4b
netpyne-101 increaded timeout for initial step
SimaoBolota-MetaCell Feb 16, 2023
33fe647
Incremented timer to 2500ms
enicolasgomez Feb 16, 2023
90e6b23
#netpyne-90: tuning sync values
ddelpiano Feb 16, 2023
3d0d03a
#netpyne-90: fixing setup.py
ddelpiano Feb 17, 2023
c391d4a
#NETPYNE-90: sync params tweaked and testing
ddelpiano Mar 1, 2023
3935327
Merge branch 'development' of https://github.com/metacell/netpyne-ui …
ddelpiano Mar 1, 2023
ac2f2fd
Merge pull request #680 from MetaCell/test/netpyne-101
ddelpiano Mar 1, 2023
480450f
Merge branch 'release/1.0.0' into feature/netpyne-99
aranega Mar 2, 2023
32f014b
netpyne-114 Add new parameter to loadModel
aranega Mar 2, 2023
80044f5
Implemented tutorials skeleton
enicolasgomez Mar 7, 2023
5ae38a1
Connected Tutorial component
enicolasgomez Mar 8, 2023
d5371a0
Added start tutorial to middleware load tutorial event
enicolasgomez Mar 9, 2023
bcce8d6
netpyne-114 Fix Dockerfile to get dev version of netpyne
aranega Mar 10, 2023
b4ac310
Completed tutorial POC
enicolasgomez Mar 13, 2023
2f217f8
Merge pull request #669 from MetaCell/feature/609-file-format-merge
ddelpiano Mar 14, 2023
50ba950
Merge pull request #683 from MetaCell/feature/90-sync
ddelpiano Mar 15, 2023
fe6a399
Merge pull request #684 from MetaCell/feature/netpyne-114
ddelpiano Mar 15, 2023
468d740
Merge branch 'release/1.0.0' into feature/netpyne-99
aranega Mar 15, 2023
2e1486e
#NETPYNE-117 updating only available plots
ddelpiano Mar 15, 2023
5225d8a
Merge pull request #677 from MetaCell/feature/netpyne-99
ddelpiano Mar 15, 2023
cf2b599
#netpyne-119 dependencies clean up
ddelpiano Mar 17, 2023
0e3cf60
Implemented Global Observer
enicolasgomez Mar 20, 2023
910fa17
Removed global observer
enicolasgomez Mar 20, 2023
0714469
Added Tutorial observer implemented on MutationObserver
enicolasgomez Mar 20, 2023
2bfb1ab
Added Tutorial observer implemented on MutationObserver (2)
enicolasgomez Mar 20, 2023
f2cdfa9
Completed Tutorial Observer
enicolasgomez Mar 21, 2023
4105dc2
fixed component name
enicolasgomez Mar 21, 2023
c5598de
Fixes to tutorial observer
enicolasgomez Mar 21, 2023
9da2cc9
Added react-joyride dependency to backup fileS
enicolasgomez Mar 21, 2023
d5b9c5f
Moved discovered steps to reducer
enicolasgomez Mar 21, 2023
eafbc6a
NETPYNE-121: moving to latest geppetto version
ddelpiano Mar 22, 2023
ed60916
Merge pull request #694 from MetaCell/feature/NETPYNE-121
ddelpiano Mar 22, 2023
ec625f4
Fixes to TutorialObserver:
enicolasgomez Mar 22, 2023
83f2c94
Removed joyride in favor of a compact implementation
enicolasgomez Mar 22, 2023
59febc9
Added support for className in Tutorial
enicolasgomez Mar 23, 2023
0b0d416
More Observer improvements
enicolasgomez Mar 23, 2023
a944e0e
netpyne-122 Add default directory for save action
aranega Mar 23, 2023
1a8a17f
Simplified tutorial model
enicolasgomez Mar 25, 2023
8ddecd5
Fixes on flow
enicolasgomez Mar 25, 2023
7cb9e39
Fixes to TutorialBubble
enicolasgomez Mar 25, 2023
0480a62
netpyne-122 Add trailing "/" for save directory
aranega Mar 27, 2023
1ea9c2c
Fixes to tutorial steps and bubble manager
enicolasgomez Mar 27, 2023
a6039f1
Progress on Tutorial 1
enicolasgomez Mar 27, 2023
836ed39
Removed dome parsing and lists
enicolasgomez Mar 28, 2023
32c32ef
Completed until Page 139 of Tutorial 1
enicolasgomez Mar 28, 2023
f06bb26
Completed Tutorial 1 steps
enicolasgomez Mar 28, 2023
b067df8
Fixed format in tutorial steps
enicolasgomez Mar 28, 2023
50d43ce
netpyne-123 setting up test
SimaoBolota-MetaCell Mar 28, 2023
e1a6292
netpyne-123 step for opening a model
SimaoBolota-MetaCell Mar 28, 2023
bef4c41
netpyne-123 step for simulating the model and go back and edit it
SimaoBolota-MetaCell Mar 28, 2023
801a06b
netpyne-123 steps for saving the model in 3 different ways
SimaoBolota-MetaCell Mar 28, 2023
698a0f8
netpyne-123 step for checking the saved models filenames
SimaoBolota-MetaCell Mar 28, 2023
0b45439
netpyne-123 snapshots, change in selectors and step to check the popu…
SimaoBolota-MetaCell Mar 28, 2023
0b858d0
netpyne-111 Add complex selector support for tutorials
aranega Mar 28, 2023
6371281
netpyne-110 Add tutorial 2
aranega Mar 28, 2023
d0a8ef9
netpyne-111 Add tutorial 3
aranega Mar 28, 2023
eea9a6c
netpyne-111 Disable "isVisible" on DOM found element
aranega Mar 28, 2023
7df8e0e
netpyne-107 Allow multiple selection on synMech in connectivity rules
aranega Mar 28, 2023
f64b429
netpyne-123 added test to package.json + final step on the tests
SimaoBolota-MetaCell Mar 29, 2023
6678e02
#NETPYNE-119: changes as per PR review
ddelpiano Mar 29, 2023
75b08d4
Merge pull request #692 from MetaCell/feature/netpyne-119
ddelpiano Mar 29, 2023
7987361
#netpyne-111 adding place holders for opening the tutorials
ddelpiano Mar 29, 2023
273e404
Merge pull request #697 from MetaCell/feature/netpyne-111
ddelpiano Mar 29, 2023
5d3daa9
added test to github actions + selectors improvement
SimaoBolota-MetaCell Mar 29, 2023
227310e
netpyne-108 Plug the start tutorial action to the top menu
aranega Mar 29, 2023
a269ab4
netpyne-108 Fix steps in tutorial3 as topmenu changed
aranega Mar 29, 2023
3c87f37
clean up
SimaoBolota-MetaCell Mar 29, 2023
c89f297
netpyne-123 adding wait for selector in failing test
SimaoBolota-MetaCell Mar 30, 2023
b2290f4
fix
SimaoBolota-MetaCell Mar 30, 2023
3f41381
waitForTimeout added
SimaoBolota-MetaCell Mar 30, 2023
d84ecdd
netpyne-108 Change title for tutorial 3
aranega Mar 30, 2023
9e2fddb
netpyne-108 Add rectangle over zone of interest
aranega Mar 30, 2023
a959273
netpyne-108 Adapt algo of tutorial bubble position
aranega Mar 30, 2023
f41dc88
netpyne-108 Fix issue with stop/start observer
aranega Mar 31, 2023
10ed67d
netpyne-108 Change steps in tutorial 1
aranega Mar 31, 2023
5aa459d
netpyne-108 Remove logs
aranega Mar 31, 2023
0668bb1
Merge pull request #699 from MetaCell/feature/netpyne-123
ddelpiano Apr 4, 2023
54401ae
Merge pull request #698 from MetaCell/feature/netpyne-107
ddelpiano Apr 5, 2023
812e689
Merge pull request #696 from MetaCell/feature/netpyne-122
ddelpiano Apr 5, 2023
63f359f
Upgraded html-webpack-plugin to latest
enicolasgomez Apr 10, 2023
d15392b
#netpyne-103: tutorial bubble first iteration on styling, fixed skip …
ddelpiano Apr 11, 2023
b844ad7
netpyne-103 Add click support for going forward in tutorials
aranega Apr 12, 2023
896323c
#NETPYNE-130: bumping versions up
ddelpiano Apr 12, 2023
9d0cf56
#NETPYNE-127: fixing geometry fields display in regions
ddelpiano Apr 12, 2023
3a18692
#netpyne-127: applied same fix to constants for consistency
ddelpiano Apr 12, 2023
c1e01f9
#netpyne-130 fixing typo
ddelpiano Apr 12, 2023
b31cf20
netpyne-103 Fix naming issue in some components
aranega Apr 12, 2023
8219c8e
netpyne-103 Fix issue with click logic in tutorial
aranega Apr 12, 2023
9982e19
netpyne-103 Improve one selector on tutorial 3
aranega Apr 12, 2023
80cc16d
netpyne-103 Fix tutorial 1
aranega Apr 12, 2023
81bf2b0
netpyne-103 Fix z-index (barely)
aranega Apr 12, 2023
9a04f39
netpyne-103 Add titles for tutorial 3
aranega Apr 12, 2023
5ce5502
netpyne-103 Update titles for tutorial 2
aranega Apr 12, 2023
ffcd89c
netpyne-103 Add titles for tutorial 1
aranega Apr 12, 2023
a6cd3a8
#NETPYNE-130: bumping lfpykit version up
ddelpiano Apr 13, 2023
9c94380
netpyne-103 Fix "next" button display
aranega Apr 13, 2023
3314020
netpyne-103 Fix "gids" step in tutorial 1
aranega Apr 13, 2023
85b0efc
Merge pull request #704 from MetaCell/feature/netpyne-130
ddelpiano Apr 13, 2023
80f0c32
Merge pull request #705 from MetaCell/feature/netpyne-127
ddelpiano Apr 13, 2023
87b63d1
#netpyne-130 just minor fixes
ddelpiano Apr 13, 2023
0efb8f5
Merge pull request #706 from MetaCell/feature/netpyne-130
ddelpiano Apr 13, 2023
e2f76f7
Fix revert path after load mechanisms
filippomc Apr 13, 2023
bd91fe2
Import css for better compile speed and stability
filippomc Apr 13, 2023
798ff71
netpyne-131 Fix issue with default save path when entry is cleared
aranega Apr 13, 2023
a9f7b85
Merge pull request #708 from MetaCell/fix/plots-paths-osb2
filippomc Apr 14, 2023
c47cac7
#netpyne-132: installation refactoring
ddelpiano Apr 14, 2023
d7bdd1f
#netpyne-132: installation refactoring 2
ddelpiano Apr 14, 2023
e72217f
#netpyne-132: installation refactoring 3
ddelpiano Apr 14, 2023
a0492e4
#netpyne-132 refactoring installation script 3
ddelpiano Apr 14, 2023
74b0ee1
#netpyne-132 adding spinner for plots that takes time to load (ny mod…
ddelpiano Apr 14, 2023
f1e43c2
Merge pull request #709 from MetaCell/fix/netpyne-131
ddelpiano Apr 14, 2023
427ff9b
Merge remote-tracking branch 'origin/release/1.0.0' into feature/103-…
aranega Apr 14, 2023
3ce0330
#netpyne-132 removing geppetto from dockerfile since can be passed as…
ddelpiano Apr 14, 2023
0e876ea
#netpyne-103 fixing disabled button
ddelpiano Apr 14, 2023
e412e41
Change default save model folder to "saved_models"
aranega Apr 14, 2023
29c71b7
Merge branch 'release/1.0.0' into feature/120-vulnerabilities
enicolasgomez Apr 14, 2023
e0e42b1
Merge pull request #713 from MetaCell/feature/120-vulnerabilities
ddelpiano Apr 14, 2023
c5462ad
Merge pull request #712 from MetaCell/feature/netpyne-126
ddelpiano Apr 14, 2023
b93c47f
Removed unused dependencies
enicolasgomez Apr 17, 2023
b9632b3
Updates yarn lock
enicolasgomez Apr 17, 2023
4e41435
#103 Tutorial bubble UI
vidhya-metacell Apr 17, 2023
74a75fd
#103 Tutorial bubble styles
vidhya-metacell Apr 17, 2023
42ca516
#103 Remove extra html content
vidhya-metacell Apr 17, 2023
181a11f
Merged conflicts
vidhya-metacell Apr 17, 2023
4ee3d35
More dependencies fixes
enicolasgomez Apr 17, 2023
50ad804
Removed depdenencies and merged back code
enicolasgomez Apr 17, 2023
a922d1f
package json changes
enicolasgomez Apr 17, 2023
a115946
#netpyne-103: removing reset button, removing update timestamp, clean…
ddelpiano Apr 19, 2023
74d640c
Merge pull request #711 from MetaCell/feature/103-tutorial-implementa…
ddelpiano Apr 19, 2023
98ba33d
Merge branch 'release/1.0.0' of https://github.com/metacell/netpyne-u…
ddelpiano Apr 19, 2023
912d306
#netpyne-132 bumping up node version
ddelpiano Apr 19, 2023
7b07f8f
temp fix for codefresh pipeline test
ddelpiano Apr 19, 2023
7978f8c
#netpyne-132 fixing env variables and pip cache
ddelpiano Apr 20, 2023
f0aa0b2
netpyne-136 Fix some tutorial 3 title names
aranega Apr 21, 2023
49ed437
netpyne-137 Add new steps for reopening plots in tutorial 3
aranega Apr 21, 2023
fe6196e
netpyne-138 Fix issue with stop tutorial
aranega Apr 21, 2023
b322ad4
netpyne-139 Fix missing steps in tutorial 2
aranega Apr 21, 2023
1aca18d
netpyne-140 Change path to .mod and .hoc for tutorial 2
aranega Apr 21, 2023
94fce62
netpyne-141 Fix flow for folder selection
aranega Apr 21, 2023
a6167f3
netpyne-141 Fix end of the tutorial 2
aranega Apr 21, 2023
1fc60ae
Merge pull request #718 from MetaCell/feature/netpyne-139
ddelpiano Apr 21, 2023
f4ec6a2
Merge pull request #717 from MetaCell/feature/netpyne-138
ddelpiano Apr 21, 2023
e86da2d
Merge pull request #716 from MetaCell/feature/netpyne-137
ddelpiano Apr 21, 2023
3ebf7e4
Merge pull request #715 from MetaCell/feature/netpyne-136
ddelpiano Apr 21, 2023
c562402
Merge pull request #710 from MetaCell/feature/netpyne-132
ddelpiano Apr 21, 2023
3d2794f
Release 1: codefresh pipeline maintenance
ddelpiano Apr 24, 2023
03a078c
netpyne-143 Fix size of tutorial bubble
aranega Apr 24, 2023
0e73a50
natus-143 Fix placement tutorial bubble when overflow on X axis
aranega Apr 24, 2023
79beb23
Merge pull request #721 from MetaCell/fix/netpyne-143
ddelpiano Apr 25, 2023
9dcfda2
Fix tutorial 2 step SRI population
aranega Apr 25, 2023
92b219c
Merge pull request #722 from MetaCell/fix/tutorial2-step-sri-pop
ddelpiano Apr 25, 2023
f99b4bc
Fix issue with cell type selection on tutorial 1
aranega Apr 26, 2023
ba6a9d4
Merge pull request #723 from MetaCell/fix/tutorial3-step-population-c…
ddelpiano Apr 26, 2023
493b37c
netpyne-146 Fix wrong plot in tutorial 1
aranega Apr 26, 2023
b3f0b85
netpyne-147 Fix some sentences in tutorial 1
aranega Apr 26, 2023
3edcca4
netpyne-148 Fix order of some steps in tutorial 1
aranega Apr 26, 2023
7b388b6
#netpyne-149 validation for inputs in bubble tutorial
ddelpiano Apr 27, 2023
57037a3
Merge branch 'fix/hfo-146-147-148' into feature/netpyne-149
aranega Apr 27, 2023
cba8943
netpyne-149 Add first full version of validation for tutorial text
aranega Apr 27, 2023
e8b8868
netpyne-149 Add validation for tutorial 2
aranega Apr 27, 2023
6ee606f
netpyne-149 Add validation for tutorial 3
aranega Apr 27, 2023
577df15
Merge pull request #724 from MetaCell/fix/hfo-146-147-148
ddelpiano Apr 28, 2023
394e1c0
Merge pull request #725 from MetaCell/feature/netpyne-149
ddelpiano Apr 28, 2023
3efc8be
NETPYNE-150: python console height fixed
ddelpiano May 3, 2023
5d6095f
Merge pull request #726 from MetaCell/feature/netpyne-150
ddelpiano May 3, 2023
afdda2d
Update tutorial_steps.js - tutorial 1, create cell
salvadord May 9, 2023
b7c67f7
Update tutorial_steps.js - tut 1, create pop and network
salvadord May 9, 2023
74ee390
tut1 edits - up to stim source
salvadord May 23, 2023
0fc30cb
final edits to tut1
salvadord Jun 6, 2023
eaa9686
fixes wip
filippomc Jun 6, 2023
af63dc1
finished editing tutorial 2
salvadord Jun 9, 2023
b8922d2
finished editing tutorial 2
salvadord Jun 9, 2023
9e74730
finishing tut3
salvadord Jun 11, 2023
7f63be5
finished tut3
salvadord Jun 11, 2023
74ad745
Update some bubble targets of tutorial 3
aranega Jun 12, 2023
f4d4a90
Cherry picked console update changes
enicolasgomez Jun 14, 2023
5abbe18
Fixed geppeto dependencies
enicolasgomez Jun 14, 2023
7211166
Merge pull request #727 from MetaCell/salvadord-patch-1-tutorials
ddelpiano Jun 19, 2023
80c6a0a
Commiting changes before switching back to 1.0
enicolasgomez Jun 19, 2023
939c6fe
Force refresh for checkbox
enicolasgomez Jun 20, 2023
30e1bba
Fixed values refresh
enicolasgomez Jun 23, 2023
915a5c5
Refresh changes
enicolasgomez Jun 23, 2023
4e82908
Rolledback PCC
enicolasgomez Jun 23, 2023
d023940
added parameter check fix to getAvailableRxDSections
enicolasgomez Jun 27, 2023
a3bb784
bumped to geppetto 1.2.0
enicolasgomez Jul 4, 2023
540eab3
Fixed components/general/PythonControlledCapability refresh
enicolasgomez Jul 4, 2023
73c04d5
Merge branch 'fixes-model-build' into release/1.0.0-notebook-fix
filippomc Jul 6, 2023
08b6887
Remove head model preemptive loading
filippomc Jul 6, 2023
a5160ee
Mod recompile logic fix
filippomc Jul 6, 2023
e230a3d
Fix compile mod logic on tutorials
filippomc Jul 6, 2023
87ce93d
Fix mod files double loading issues
filippomc Jul 6, 2023
3d012e5
Fix lfpykit head model load on osb
filippomc Jul 6, 2023
36e403f
Enforced UNSAFE_componentWillReceiveProps on changed properties
enicolasgomez Jul 11, 2023
1ced1a2
fix: commenting compiling of the mods since happening on demand when …
ddelpiano Jul 11, 2023
0d19844
Fix NYHeadModel download
filippomc Jul 12, 2023
439836c
Fix lfpykit head model load
filippomc Jul 12, 2023
fa0c552
Merge pull request #734 from MetaCell/release/1.0.0-notebook-fix
enicolasgomez Jul 12, 2023
0ac0d96
fix tests
SimaoBolota-MetaCell Jul 12, 2023
a259bce
Merge pull request #739 from MetaCell/fix/SaveTest
enicolasgomez Jul 12, 2023
e9f7d5e
Merge pull request #738 from MetaCell/release/1.0.0
enicolasgomez Jul 12, 2023
2c29fd7
Fix write permissions in test/stage env
filippomc Jul 13, 2023
8dd8e6e
chore: remove useless directory
filippomc Jul 13, 2023
faa1f3e
Mod files loading error fallback
filippomc Jul 13, 2023
5aca5d9
Merge branch 'master' of github.com:MetaCell/NetPyNE-UI into release/…
filippomc Jul 13, 2023
0332d26
Fix permissions on test/stage
filippomc Jul 13, 2023
8d7e417
added RxD test
SimaoBolota-MetaCell Jul 26, 2023
bbc25e4
RxD test added to github actions
SimaoBolota-MetaCell Jul 26, 2023
99f7acd
fixes
SimaoBolota-MetaCell Jul 26, 2023
4c24eae
fix
SimaoBolota-MetaCell Jul 26, 2023
00a15e4
fixed some configs
SimaoBolota-MetaCell Jul 26, 2023
626cc72
Merge pull request #759 from MetaCell/feature/134and133
enicolasgomez Jul 26, 2023
969cb7e
fix identation
SimaoBolota-MetaCell Jul 26, 2023
bcc60d2
added extra configuration for empty errors
SimaoBolota-MetaCell Aug 9, 2023
32763b2
increased failure threshold to be consistent with the other tests
SimaoBolota-MetaCell Aug 9, 2023
e1c3a7c
Merge pull request #761 from MetaCell/release1/testfix
ddelpiano Aug 9, 2023
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
258 changes: 258 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,258 @@
name: Tests Workflow

# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the specified branch
push:
branches:
- "master"
- "development"
pull_request:
branches:
- "master"
- "development"

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
EEG_Dipole-test:
# The type of runner that the job will run on
runs-on: ubuntu-20.04
container: lironavon/docker-puppeteer-container:14.16.0
env:
CI: true
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
cache-dependency-path: frontend/e2e/tests/package-lock.json
- name: EEG and Dipole Plot snapshot test using Tut#1
run: |
cd tests/frontend/e2e
#install dependencies
npm ci
# run EEG and Dipole Plot test
npm run EEG_Dipole_test
env:
CI: true
Experiment_Manager-test:
# The type of runner that the job will run on
runs-on: ubuntu-20.04
container: lironavon/docker-puppeteer-container:14.16.0
env:
CI: true
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
cache-dependency-path: frontend/e2e/tests/package-lock.json
- name: Experiment Manager snapshot test using Tut#1
run: |
cd tests/frontend/e2e
#install dependencies
npm ci
# run Experiment Manager test
npm run Experiment_Manager_test
env:
CI: true
Control_Panel-test:
# The type of runner that the job will run on
runs-on: ubuntu-20.04
container: lironavon/docker-puppeteer-container:14.16.0
env:
CI: true
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
cache-dependency-path: frontend/e2e/tests/package-lock.json
- name: Control Panel test using Tut#2
run: |
cd tests/frontend/e2e
#install dependencies
npm ci
# run Control Panel test
npm run Control_Panel_test
env:
CI: true
Save_and_Open_File-test:
# The type of runner that the job will run on
runs-on: ubuntu-20.04
container: lironavon/docker-puppeteer-container:14.16.0
env:
CI: true
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
cache-dependency-path: frontend/e2e/tests/package-lock.json
- name: Test for Opening and Saving a file
run: |
cd tests/frontend/e2e
#install dependencies
npm ci
# run Control Panel test
npm run Save_Open_File_test
env:
CI: true
RxD-test:
# The type of runner that the job will run on
runs-on: ubuntu-20.04
container: lironavon/docker-puppeteer-container:14.16.0
env:
CI: true
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
cache-dependency-path: frontend/e2e/tests/package-lock.json
- name: Test for RxD plot
run: |
cd tests/frontend/e2e
#install dependencies
npm ci
# run RxD Plot test
npm run RxD_test
env:
CI: true
Tutorial_1-SmokeTest:
# The type of runner that the job will run on
runs-on: ubuntu-20.04
container: lironavon/docker-puppeteer-container:14.16.0
env:
CI: true
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
cache-dependency-path: frontend/e2e/tests/package-lock.json
- name: Tutorial 1 Plot Tests
run: |
cd tests/frontend/e2e
#install dependencies
npm ci
# run Tutorial 1 Plot Tests
npm run Tutorial_1_test
env:
CI: true
Tutorial_2-SmokeTest:
# The type of runner that the job will run on
runs-on: ubuntu-20.04
container: lironavon/docker-puppeteer-container:14.16.0
env:
CI: true
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
cache-dependency-path: frontend/e2e/tests/package-lock.json
- name: Tutorial 2 Plot Tests
run: |
cd tests/frontend/e2e
#install dependencies
npm ci
# run Tutorial 2 Plot Tests
npm run Tutorial_2_test
env:
CI: true
Tutorial_3a-SmokeTest:
# The type of runner that the job will run on
runs-on: ubuntu-20.04
container: lironavon/docker-puppeteer-container:14.16.0
env:
CI: true
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
cache-dependency-path: frontend/e2e/tests/package-lock.json
- name: Tutorial 3a Plot Tests
run: |
cd tests/frontend/e2e
#install dependencies
npm ci
# run Tutorial 3a Plot Tests
npm run Tutorial_3A_test
env:
CI: true
Tutorial_3b-SmokeTest:
# The type of runner that the job will run on
runs-on: ubuntu-20.04
container: lironavon/docker-puppeteer-container:14.16.0
env:
CI: true
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
cache-dependency-path: frontend/e2e/tests/package-lock.json
- name: Tutorial 3b Plot Tests
run: |
cd tests/frontend/e2e
#install dependencies
npm ci
# run Tutorial 3b Plot Tests
npm run Tutorial_3B_test
env:
CI: true
Tutorial_3c-SmokeTest:
# The type of runner that the job will run on
runs-on: ubuntu-20.04
container: lironavon/docker-puppeteer-container:14.16.0
env:
CI: true
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
cache-dependency-path: frontend/e2e/tests/package-lock.json
- name: Tutorial 3c Plot Tests
run: |
cd tests/frontend/e2e
#install dependencies
npm ci
# run Tutorial 3c Plot Tests
npm run Tutorial_3C_test
env:
CI: true
Tutorial_4-SmokeTest:
# The type of runner that the job will run on
runs-on: ubuntu-20.04
container: lironavon/docker-puppeteer-container:14.16.0
env:
CI: true
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
cache-dependency-path: frontend/e2e/tests/package-lock.json
- name: Tutorial 4 Plot Tests
run: |
cd tests/frontend/e2e
#install dependencies
npm ci
# run Tutorial 4 Plot Tests
npm run Tutorial_4_test
env:
CI: true
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,8 @@ utilities/x86_64
x86_64
.jupyter-config
venv
webapp/build
webapp/.yalc
node_modules
sa_nyhead.mat
workspace
28 changes: 15 additions & 13 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:13.14 as jsbuild
FROM node:14.21.3-bullseye as jsbuild

WORKDIR /app

Expand All @@ -18,48 +18,50 @@ RUN rm -Rf node_modules/*
FROM jupyter/base-notebook:hub-1.5.0
ENV NB_UID=jovyan
ENV FOLDER=netpyne
ARG GEPPETTO_VERSION=development
ARG BUILD_ARGS=""
ARG WORKSPACE_VERSION=master
# ARG GEPPETTO_VERSION=development
# ARG NETPYNE_VERSION=master

ENV FOLDER=/home/jovyan/work/NetPyNE-UI

USER root

RUN rm -rf /var/lib/apt/lists
RUN apt-get update -qq &&\
apt-get install python3-tk vim nano unzip git make libtool g++ -qq pkg-config libfreetype6-dev libpng-dev libopenmpi-dev -y
apt-get install python3-tk vim nano unzip git make libtool g++ -qq pkg-config libfreetype6-dev libpng-dev libopenmpi-dev openjdk-11-jre-headless -y -y
RUN conda install python=3.7 -y


WORKDIR $FOLDER
COPY --chown=1000:1000 requirements.txt requirements.txt
RUN pip install -r requirements.txt --no-cache-dir --prefer-binary
RUN --mount=type=cache,target=/root/.cache python -m pip install --upgrade pip && pip install -r requirements.txt --prefer-binary

COPY --chown=$NB_UID:1000 . .
COPY --from=jsbuild --chown=$NB_UID:1000 /app webapp
COPY --chown=jovyan:1000 . .
COPY --from=jsbuild --chown=jovyan:1000 /app webapp


RUN jupyter nbextension install --py --symlink --sys-prefix jupyter_geppetto
RUN jupyter nbextension enable --py --sys-prefix jupyter_geppetto
RUN jupyter nbextension enable --py --sys-prefix widgetsnbextension
RUN jupyter serverextension enable --py --sys-prefix jupyter_geppetto

RUN python utilities/install.py ${BUILD_ARGS} --geppetto ${GEPPETTO_VERSION} --npm-skip
RUN python utilities/install.py ${BUILD_ARGS} --workspace $WORKSPACE_VERSION

RUN jupyter labextension disable @jupyterlab/hub-extension

RUN chown $NB_UID .
RUN chown -R $NB_UID workspace

# Temp fixes for eeg plots
RUN wget -P `pip show LFPykit | grep "Location:" | awk '{print $2"/lfpykit"}'` https://www.parralab.org/nyhead/sa_nyhead.mat
ENV NEURON_HOME=/opt/conda
# For lfpykit 0.4
# RUN wget -P $(pip show LFPykit | grep "Location:" | awk '{print $2"/lfpykit"}') https://www.parralab.org/nyhead/sa_nyhead.mat
# For lpfykit 0.5
ENV NP_LFPYKIT_HEAD_FILE=/home/jovyan/nyhead.mat
RUN wget --no-check-certificate -O $NP_LFPYKIT_HEAD_FILE https://www.parralab.org/nyhead/sa_nyhead.mat

USER $NB_UID


EXPOSE 8888





2 changes: 1 addition & 1 deletion NetPyNE-UI
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
CONFIG=$(pwd)/.jupyter-config
export JUPYTER_CONFIG_DIR=$CONFIG
exec jupyter notebook --NotebookApp.default_url=/geppetto --NotebookApp.token='' --library=netpyne_ui --NotebookApp.disable_check_xsrf=True
exec jupyter notebook --NotebookApp.default_url=/geppetto --NotebookApp.token='' --NotebookApp.notebook_dir=workspace --library=netpyne_ui --NotebookApp.disable_check_xsrf=True
12 changes: 7 additions & 5 deletions netpyne_ui/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,23 @@
"https://[email protected]/6"
)

HEAD_MODEL_FILE = os.getenv("NP_LFPYKIT_HEAD_FILE", "sa_nyhead.mat")

def init_eeg():
import sys
from netpyne_ui.constants import HERE
# FIXES library asking for input to download
sys.stdin = open(os.path.join(HERE, "resources/stdin.txt"),'r')
from lfpykit.eegmegcalc import NYHeadModel
try:
NYHeadModel() # Downloads the model if does not exist
NYHeadModel(HEAD_MODEL_FILE) # Downloads the model if does not exist
except:
logging.error("Error initializing the EEG head model", exc_info=True)

from multiprocessing import Process
thread = Process(target = init_eeg)
thread.start()

if not os.path.exists(HEAD_MODEL_FILE):
from multiprocessing import Process
thread = Process(target = init_eeg)
thread.start()

RouteManager.add_controller(api.NetPyNEController)

Expand Down
Loading
Loading