Skip to content

Commit

Permalink
Old reporting removal: removed glm_reporter (done)
Browse files Browse the repository at this point in the history
  • Loading branch information
man-shu committed Mar 17, 2021
1 parent 65fe747 commit 6f94ebb
Show file tree
Hide file tree
Showing 12 changed files with 11 additions and 733 deletions.
1 change: 0 additions & 1 deletion examples/easy_start/nipype_preproc_spm_auditory.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import nibabel
from pypreprocess.nipype_preproc_spm_utils import do_subjects_preproc
from pypreprocess.datasets import fetch_spm_auditory
from pypreprocess.reporting.glm_reporter import generate_subject_stats_report
import pandas as pd
from nilearn.glm.first_level.design_matrix import (make_first_level_design_matrix,
check_design_matrix)
Expand Down
2 changes: 0 additions & 2 deletions examples/pipelining/nipype_preproc_spm_multimodal_faces.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@

# pypreprocess imports
from pypreprocess.datasets import fetch_spm_multimodal_fmri
from pypreprocess.reporting.base_reporter import ProgressReport
from pypreprocess.reporting.glm_reporter import generate_subject_stats_report
from pypreprocess.nipype_preproc_spm_utils import do_subject_preproc
from pypreprocess.subject_data import SubjectData

Expand Down
2 changes: 0 additions & 2 deletions examples/pipelining/nistats_glm_fsl_feeds_fmri.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
import time
from pypreprocess.nipype_preproc_spm_utils import (SubjectData,
do_subjects_preproc)
from pypreprocess.reporting.glm_reporter import generate_subject_stats_report
from pypreprocess.reporting.base_reporter import ProgressReport
from pypreprocess.datasets import fetch_fsl_feeds
from pypreprocess.io_utils import compute_mean_3D_image

Expand Down
7 changes: 1 addition & 6 deletions pypreprocess/conf_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -445,9 +445,4 @@ def _ignore_subject(subject_id):
return subjects, preproc_params

# this pseudo is better
import_data = _generate_preproc_pipeline


if __name__ == '__main__':
from pypreprocess.reporting.base_reporter import dict_to_html_ul
print(dict_to_html_ul(_parse_job("job.conf")))
import_data = _generate_preproc_pipeline
2 changes: 1 addition & 1 deletion pypreprocess/nipype_preproc_spm_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
_do_subject_smooth as _pp_do_subject_smooth)

from nilearn.plotting.html_document import HTMLDocument
from .reporting.preproc_reporter import (_set_templates,embed_in_HTML,
from .reporting.pypreproc_reporter import (_set_templates,embed_in_HTML,
initialize_report, add_component, finalize_report,
generate_realignment_report, generate_registration_report,
generate_corregistration_report, generate_segmentation_report,
Expand Down
2 changes: 1 addition & 1 deletion pypreprocess/purepython_preproc_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

import os
import inspect
from .reporting.preproc_reporter import (
from .reporting.pypreproc_reporter import (
generate_preproc_steps_docstring)
from joblib import Memory
from .io_utils import get_basenames, save_vols, is_niimg, load_vols
Expand Down
Loading

0 comments on commit 6f94ebb

Please sign in to comment.