<jupyter_start><jupyter_text>Test the interface implemented in `pymialsrtk.interfaces.report`<jupyter_code>from pymialsrtk.interfaces.report import MialsrtkSubjectReportInterface

subj_report = Node(
    interface=MialsrtkSubjectReportInterface(),
    name='subject_report',
    base_dir='.'
)
subj_report.inputs.subject = '01'
subj_report.inputs.sr_nii_image = os.path.abspath('data/sub-01_rec-SR_id-1_T2w.nii.gz')
subj_report.inputs.sr_json_metadata = os.path.abspath('data/sub-01_rec-SR_id-1_T2w.json')
subj_report.inputs.sr_png_image = os.path.abspath('data/sub-01_rec-SR_id-1_T2w.png')
subj_report.inputs.motion_report_image = os.path.abspath('data/sub-01_rec-SR_id-1_desc-motion_stats.png')
subj_report.inputs.workflow_image = os.path.abspath('data/graph.png')
out = subj_report.run()<jupyter_output>210721-14:34:52,311 nipype.workflow INFO:
	 [Node] Setting-up "subject_report" in "/Users/sebastientourbier/Softwares/forks/mialsuperresolutiontoolkit-1/notebooks/subject_report".
210721-14:34:52,316 nipype.workflow INFO:
	 [Node] Running "subject_report" ("pymialsrtk.interfaces.report.MialsrtkSubjectReportInterface")
DEBUG: Report content=<!DOCTYPE html>
<html lang="en">
<title>Super-Resolution Report of Subject 01</title>
<meta name="description" content="Super-Resolution Report of Subject 01.">
<meta name="author" content="MIAL Super-Resolution ToolKit 2.0.2-dev">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<link rel="stylesheet" href="https://www.w3schools.com/lib/w3-theme-black.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.[...]
{'fraction_non_alphanumeric': 0.15516289342904474, 'fraction_numerical': 0.036443953616786304, 'mean_word_length': 6.878260869565217, 'pattern_counts': {'":': 0, '<': 16, '<?xml version=': 0, '>': 15, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '355282', 'license': 'BSD-3-Clause', 'n_tokens_mistral': 723, 'n_tokens_neox': 680, 'n_words': 84, 'path': 'notebooks/SubjectReport.ipynb', 'repo_name': 'sebastientourbier/mialsuperresolutiontoolkit-1', 'size': '1811'}