Skip to content

Commit

Permalink
Merge branch 'master' into organizer
Browse files Browse the repository at this point in the history
  • Loading branch information
dacb authored Jan 29, 2019
2 parents 1f529b4 + fbc4b15 commit 8784f51
Show file tree
Hide file tree
Showing 4 changed files with 509 additions and 4 deletions.
44 changes: 42 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,12 @@ lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST


# PyInstaller
# Usually these files are written by a python script from a template
Expand All @@ -43,8 +46,11 @@ htmlcov/
.cache
nosetests.xml
coverage.xml
*,cover

*.cover
.hypothesis/
.pytest_cache/


# Translations
*.mo
Expand All @@ -53,11 +59,45 @@ coverage.xml
# Django stuff:
*.log


# Sphinx documentation
docs/_build/

# PyBuilder
target/

#Ipython Notebook

# Jupyter Notebook
.ipynb_checkpoints

# pyenv
.python-version

# celery beat schedule file
celerybeat-schedule

# SageMath parsed files
*.sage.py

# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mkdocs documentation
/site

# mypy
.mypy_cache/

3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
Neuralizer
==========
# Neuralizer

![Neuralizer logo](https://github.com/BeckResearchLab/Neuralizer/blob/organizer/Logo.png)

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
{
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"metadata": {},
"outputs": [],
"source": [
"import json\n"
]
},
{
"cell_type": "code",
"execution_count": 5,
"metadata": {},
"outputs": [],
"source": [
"filename = 'test.json'\n",
"x = {'last_name': 'wang',\n",
" 'age':24}\n",
"with open(filename,'w') as f:\n",
" json.dump(x,f)"
]
},
{
"cell_type": "code",
"execution_count": 8,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"24\n"
]
}
],
"source": [
"if filename:\n",
" with open(filename,'r') as f:\n",
" result = json.load(f)\n",
"print(result['age'])"
]
},
{
"cell_type": "code",
"execution_count": 10,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"int"
]
},
"execution_count": 10,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"\n",
"type(result['age'])"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.5"
}
},
"nbformat": 4,
"nbformat_minor": 2
}
Loading

0 comments on commit 8784f51

Please sign in to comment.