Skip to content

Commit 67416c9

Browse files
josephmjeoesteban
authored andcommitted
apply Oscar's suggestions
1 parent 1042c26 commit 67416c9

File tree

6 files changed

+13
-6
lines changed

6 files changed

+13
-6
lines changed

MANIFEST.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ include versioneer.py
77
include dmriprep/_version.py
88

99
# data
10-
include dmriprep/reports/dmriprep.yml
11-
include dmriprep/reports/report.tpl
10+
include dmriprep/config/reports-spec.yml
11+
include dmriprep/config/report.tpl

dmriprep/cli/run.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ def main():
385385
# Generate reports phase
386386
failed_reports = generate_reports(
387387
subject_list, output_dir, work_dir, run_uuid,
388-
config=pkgrf('dmriprep', 'reports/dmriprep.yml'),
388+
config=pkgrf('dmriprep', 'config/reports-spec.yml'),
389389
packagename='dmriprep')
390390
write_derivative_description(bids_dir, output_dir / 'dmriprep')
391391

@@ -533,7 +533,7 @@ def build_workflow(opts, retval):
533533
retval['run_uuid'] = run_uuid
534534
retval['return_code'] = generate_reports(
535535
subject_list, output_dir, work_dir, run_uuid,
536-
config=pkgrf('dmriprep', 'reports/dmriprep.yml'),
536+
config=pkgrf('dmriprep', 'config/reports-spec.yml'),
537537
packagename='dmriprep')
538538
return retval
539539

dmriprep/reports/report.tpl renamed to dmriprep/config/report.tpl

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,37 +11,44 @@
1111
<style type="text/css">
1212
.sub-report-title {}
1313
.run-title {}
14+
1415
h1 { padding-top: 35px; }
1516
h2 { padding-top: 20px; }
1617
h3 { padding-top: 15px; }
18+
1719
.elem-desc {}
1820
.elem-caption {
1921
margin-top: 15px
2022
margin-bottom: 0;
2123
}
2224
.elem-filename {}
25+
2326
div.elem-image {
2427
width: 100%;
2528
page-break-before:always;
2629
}
30+
2731
.elem-image object.svg-reportlet {
2832
width: 100%;
2933
padding-bottom: 5px;
3034
}
3135
body {
3236
padding: 65px 10px 10px;
3337
}
38+
3439
.boiler-html {
3540
font-family: "Bitstream Charter", "Georgia", Times;
3641
margin: 20px 25px;
3742
padding: 10px;
3843
background-color: #F8F9FA;
3944
}
45+
4046
div#boilerplate pre {
4147
margin: 20px 25px;
4248
padding: 10px;
4349
background-color: #F8F9FA;
4450
}
51+
4552
</style>
4653
</head>
4754
<body>
File renamed without changes.

dmriprep/reports/__init__.py

Whitespace-only changes.

setup.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ all =
8383
dmriprep =
8484
VERSION
8585
data/boilerplate.bib
86-
reports/dmriprep.yml
87-
reports/report.tpl
86+
config/reports-spec.yml
87+
config/report.tpl
8888

8989
[options.entry_points]
9090
console_scripts =

0 commit comments

Comments
 (0)