Giter Site home page Giter Site logo

alleninstitute / swdb_2017 Goto Github PK

View Code? Open in Web Editor NEW
11.0 19.0 13.0 28.22 MB

course materials for the 2017 Summer Workshop on the Dynamic Brain

Home Page: https://www.alleninstitute.org/what-we-do/brain-science/events-training/events/summer-workshop-dynamic-brain-2017

License: Other

Jupyter Notebook 46.19% HTML 52.88% Python 0.02% AMPL 0.07% C 0.84% Shell 0.01%

swdb_2017's Introduction

SWDB_2017

SWDB_2017

This is the repository for the course materials for the 2017 Summer Workshop on the Dynamic Brain.

Support Policy

We are releasing this code as part of the 2017 Summer Workshop on the Dynamic Brain and will only be supporting and developing it for the context of this workshop. The community is welcome to submit issues, but you should not expect an active response outside of the context of the course.

Copyright 2017 Allen Institute

swdb_2017's People

Contributors

campagnola avatar cellassembly avatar drjigsaw avatar dyf avatar fcollman avatar gkocker avatar gouwens avatar mabuice avatar olsenshawn avatar ramakrishnaniyer avatar saskiad avatar zhuangjun1981 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

swdb_2017's Issues

biophysical simulation cannot be run more than once in a notebook in aws

something about neuron or modelingsdk is not closing a file in the sim_results directory, so when it is removed, it isn't fully removed and so the shutil.rmdir call falls the second time you start the simulation.

The workaround is to restart the kernel, which will cause the .nfs file to go away and the command clears the directory just fine.

OSErrorTraceback (most recent call last)
<ipython-input-54-99cbe447b962> in <module>()
----> 1 run_sim('config.json')

<ipython-input-53-87e04acd2127> in run_sim(config_file)
     13 def run_sim(config_file):
     14     conf = config.from_json(config_file) # Build a configuration paths
---> 15     io.setup_output_dir(conf)            # Create output directory tree structure
     16 
     17     nrn.load_neuron_modules(conf)        # Load NMODL mechanisms,hoc templates

/opt/conda/envs/py27/lib/python2.7/site-packages/modelingsdk-0.0.4-py2.7.egg/modelingsdk/simulator/bionet/io.pyc in setup_output_dir(conf)
    279 
    280                 if conf["run"]['overwrite_output_dir']==True:
--> 281                     shutil.rmtree(conf["output"]["output_dir"])
    282                     print('Overwriting the output directory %s:' %conf["output"]["output_dir"]) # must print to stdout because the log file is not created yet
    283                 else:

/opt/conda/envs/py27/lib/python2.7/shutil.pyc in rmtree(path, ignore_errors, onerror)
    245             mode = 0
    246         if stat.S_ISDIR(mode):
--> 247             rmtree(fullname, ignore_errors, onerror)
    248         else:
    249             try:

/opt/conda/envs/py27/lib/python2.7/shutil.pyc in rmtree(path, ignore_errors, onerror)
    254         os.rmdir(path)
    255     except os.error:
--> 256         onerror(os.rmdir, path, sys.exc_info())
    257 
    258 

/opt/conda/envs/py27/lib/python2.7/shutil.pyc in rmtree(path, ignore_errors, onerror)
    252                 onerror(os.remove, fullname, sys.exc_info())
    253     try:
--> 254         os.rmdir(path)
    255     except os.error:
    256         onerror(os.rmdir, path, sys.exc_info())

OSError: [Errno 39] Directory not empty: '/home/forrestc/SWDB_2017/DynamicBrain/Modeling/biophysical_notebook/sim_results_001/cellvars'```

Deprecation Warning in Cell Types notebook

The line

ephys_features_df = ctc.get_ephys_features(dataframe=True)
ephys_features_df.head(1)

issues a deprecation warning about the 'dataframe' argument. Is there a new, approved way of doing this?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.