Skip to content

Commit

Permalink
Merge pull request #1107 from neuroscout/adelavega-patch-1
Browse files Browse the repository at this point in the history
FIX: Datalad installation path
  • Loading branch information
adelavega committed Jul 1, 2023
2 parents 926031c + 5d2b377 commit b46cfe6
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 2 deletions.
21 changes: 21 additions & 0 deletions neuroscout/frontend/cypress.config.ts.tests
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import { defineConfig } from 'cypress'

export default defineConfig({
projectId: 'jfpnqv',
retries: {
runMode: 1,
openMode: 1,
},
defaultCommandTimeout: 30000,
pageLoadTimeout: 180000,
requestTimeout: 30000,
e2e: {
// We've imported your old cypress plugins here.
// You may want to clean this up later by importing these.
setupNodeEvents(on, config) {
return require('./cypress/plugins/index.js')(on, config)
},
baseUrl: 'http://localhost:4000',
specPattern: 'cypress/e2e/**/*.{js,jsx,ts,tsx}',
},
})
2 changes: 1 addition & 1 deletion neuroscout/populate/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from .utils import add_to_bibliography
from pathlib import Path
from datalad.api import install, get
from datalad.core.distributed.clone import _get_installationpath_from_url
from datalad.core.distributed.clone_utils import _get_installationpath_from_url
from bids.layout import BIDSLayout
from ..models import Dataset

Expand Down
2 changes: 1 addition & 1 deletion setup_frontend_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ python manage.py setup_test_db
cd ../
gunicorn -b :4000 neuroscout.core:app --log-level debug --timeout 120 &
cd neuroscout/frontend
cp cypress-test.json cypress.json
cp cypress.config.ts.tests cypress.config.ts
cp src/config.ts.example src/config.ts
echo "Starting web server"
yarn start&

0 comments on commit b46cfe6

Please sign in to comment.