Skip to content

Commit

Permalink
Improved checkout of osb repos on windows
Browse files Browse the repository at this point in the history
Added more nC projects
Addresses problem in #51
  • Loading branch information
pgleeson committed Dec 16, 2015
1 parent ec891b0 commit 2cac736
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 36 deletions.
54 changes: 19 additions & 35 deletions osb/checkOsb.bat
Original file line number Diff line number Diff line change
@@ -1,37 +1,12 @@
@echo off

echo Starting check for OSB projects...
echo Starting check for some OSB projects...

FOR /F "tokens=*" %%i IN (osbRepos) DO call :standardGHProject %%i %1

GOTO :EOF


REM ***********************************
REM *** Main

call :standardGHProject CA1PyramidalCell hippocampus CA1_pyramidal_neuron %1
call :standardGHProject SolinasEtAl-GolgiCell cerebellum cerebellar_golgi_cell %1

call :standardGHProject CerebellarNucleusNeuron cerebellum cerebellar_nucleus_cell %1

call :standardGHProject GranCellRothmanIf cerebellum cerebellar_granule_cell %1
call :standardGHProject GranCellSolinasEtAl10 cerebellum cerebellar_granule_cell %1
call :standardGHProject GranuleCell cerebellum cerebellar_granule_cell %1
call :standardGHProject GranuleCellVSCS cerebellum cerebellar_granule_cell %1

call :standardGHProject PurkinjeCell cerebellum cerebellar_purkinje_cell %1

call :standardGHProject GranCellLayer cerebellum networks %1
call :standardGHProject VervaekeEtAl-GolgiCellNetwork cerebellum networks %1

call :standardGHProject MainenEtAl_PyramidalCell cerebral_cortex neocortical_pyramidal_neuron %1
call :standardGHProject RothmanEtAl_KoleEtAl_PyrCell cerebral_cortex neocortical_pyramidal_neuron %1

call :standardGHProject IzhikevichModel cerebral_cortex networks %1
call :standardGHProject Thalamocortical cerebral_cortex networks %1

goto :EOF

REM ***********************************
REM *** Function Definitions
Expand All @@ -43,26 +18,35 @@ REM *** Function Definitions
echo Making new dir: %~2
mkdir %~2
)
if not exist %~2\%~3 (
echo Making new dir: %~2\%~3
mkdir %~2\%~3

set BACK_DIR=%cd%
set TGT_DIR=%cd%\%~2\%~3

if "%3"=="-" (
set TGT_DIR=%cd%\%~2
)

if not exist %~2\%~3\%~1 (
echo Cloning: %~1 to %~2\%~3\%~1
git clone https://github.com/OpenSourceBrain/%~1.git %~2/%~3/%~1
if not exist %TGT_DIR% (
echo Making new dir: %TGT_DIR%
mkdir %TGT_DIR%
)

if not exist %TGT_DIR%\%~1 (
echo Cloning: %~1 to %TGT_DIR%\%~1
git clone https://github.com/OpenSourceBrain/%~1.git %TGT_DIR%/%~1
)
echo.
echo ------ Checking: %~2\%~3\%~1
cd %~2\%~3\%~1
echo ------ Checking: %TGT_DIR%\%~1
cd %TGT_DIR%\%~1

if "%4"=="-u" (
call git pull
) else (
call git status
call git fetch --dry-run
)
cd ..\..\..

cd %BACK_DIR%

goto :EOF

Expand Down
15 changes: 14 additions & 1 deletion osb/osbRepos
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@

BlueBrainProjectShowcase showcase -
AllenInstituteNeuroML showcase -
neuroConstructShowcase showcase -

PyloricNetwork invertebrate lobster
MorrisLecarModel invertebrate barnacle
Drosophila_Projection_Neuron invertebrate drosophila
Expand All @@ -20,11 +24,20 @@ PurkinjeCell cerebellum cerebellar_purkinje_cell

GranCellLayer cerebellum networks
VervaekeEtAl-GolgiCellNetwork cerebellum networks
Cerebellum3DDemo cerebellum networks

MainenEtAl_PyramidalCell cerebral_cortex neocortical_pyramidal_neuron
RothmanEtAl_KoleEtAl_PyrCell cerebral_cortex neocortical_pyramidal_neuron
L5bPyrCellHayEtAl2011 cerebral_cortex neocortical_pyramidal_neuron
LarkumEtAl2009 cerebral_cortex neocortical_pyramidal_neuron
FarinellaEtAl_NMDAspikes cerebral_cortex neocortical_pyramidal_neuron
korngreen-pyramidal cerebral_cortex neocortical_pyramidal_neuron
SmithEtAl2013-L23DendriticSpikes cerebral_cortex neocortical_pyramidal_neuron


IzhikevichModel cerebral_cortex networks
Thalamocortical cerebral_cortex networks
Brunel2000 cerebral_cortex networks
Brunel2000 cerebral_cortex networks
ACnet2 cerebral_cortex networks
PospischilEtAl2008 cerebral_cortex networks
VogelsEtAl2011 cerebral_cortex networks

0 comments on commit 2cac736

Please sign in to comment.