This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# coding: utf-8 | |
# ## Prepare Data | |
# In[1]: | |
import pandas as pd | |
import numpy as np |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import attr | |
from pathlib import Path | |
import os | |
from ..core import Workflow | |
from ..task import ShellCommandTask | |
from ..submitter import Submitter | |
from ..specs import SpecInfo, ShellSpec, ShellOutSpec, File | |
from ... import mark |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# build and execution requirements, using Neurodocker format | |
requirements: | |
base: | |
image: debian:stretch | |
pkg-manager: apt | |
fsl: | |
version: 5.0.10 | |
afni: | |
version: latest | |
miniconda: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Your branch is up-to-date with 'origin/_conda_cache_origin_head'. | |
checkout: 'HEAD' | |
==> git log -n1 <== | |
commit 38d82aa1f7f0dad60405dbe13e5f208dbdc3d1b7 | |
Author: Stefan Krah <skrah@bytereef.org> | |
Date: Tue May 8 16:43:18 2018 +0200 | |
Upload to xnd. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
src: | |
class: File | |
path: reading.py | |
dir: | |
class: Directory | |
path: /path/to/data |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- \ | |
# emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- \ | |
# vi: set ft=python sts=4 ts=4 sw=4 et: \ | |
"""Tests for the engine utils module \ | |
""" | |
from __future__ import print_function, division, unicode_literals, absolute_import |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
# emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- | |
# vi: set ft=python sts=4 ts=4 sw=4 et: | |
"""Tests for the engine utils module | |
""" | |
from __future__ import print_function, division, unicode_literals, absolute_import | |
from builtins import range, open | |
import os | |
from copy import deepcopy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from nipype import Node, Function, Workflow, config | |
config.enable_debug_mode() | |
import pdb | |
import numpy as np | |
### EX.1 | |
def adding(inp): | |
return inp + 1 |