Skip to content

Commit

Permalink
Switching import statements to work with python3
Browse files Browse the repository at this point in the history
  • Loading branch information
adbartni committed Aug 6, 2019
1 parent 9aa4772 commit 7fed06c
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 8 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@ quality_control/reports
testing.ipynb
nilearn_cache/
__pycache__/
.scratch/
venv/
2 changes: 1 addition & 1 deletion activate
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash

source /shared/studies/nonregulated/connectome/venv/bin/activate
source /shared/studies/nonregulated/connectome/fmri/preprocessing_pipeline/venv/bin/activate
4 changes: 2 additions & 2 deletions preprocessing/Melodic.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import os
import subprocess
from shutil import copyfile, copytree
from __init__ import fslDir
from PreMelodicProcessing import Preprocessing
from .__init__ import fslDir
from .PreMelodicProcessing import Preprocessing


class Melodic(Preprocessing):
Expand Down
4 changes: 2 additions & 2 deletions preprocessing/PostMelodicProcessing.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import os
import pandas as pd
from __init__ import fslDir
from PreMelodicProcessing import Preprocessing
from .__init__ import fslDir
from .PreMelodicProcessing import Preprocessing


class PostMelodic(Preprocessing):
Expand Down
2 changes: 1 addition & 1 deletion preprocessing/PreMelodicProcessing.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import os
import subprocess
from shutil import copyfile
from __init__ import fslDir
from .__init__ import fslDir


class Preprocessing:
Expand Down
4 changes: 2 additions & 2 deletions preprocessing/StructuralProcessing.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import os
import subprocess
import re
from __init__ import fslDir
from PreMelodicProcessing import Preprocessing
from .__init__ import fslDir
from .PreMelodicProcessing import Preprocessing


class StructuralProcessing(Preprocessing):
Expand Down
7 changes: 7 additions & 0 deletions requirements.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
pandas
numpy
scipy
sklearn
nibabel
nilearn
begins

0 comments on commit 7fed06c

Please sign in to comment.