Skip to content

Commit adbaafc

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 389f51b commit adbaafc

6 files changed

Lines changed: 7 additions & 11 deletions

File tree

nidmresults/cli/nidm_mkda_convert.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
@copyright: University of Warwick 2013-2014
66
"""
77

8-
98
import argparse
109
import os
1110
import sys

nidmresults/cli/nidmreader.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
@copyright: University of Warwick 2013-2014
99
"""
1010

11-
1211
import argparse
1312
import os
1413
import sys

nidmresults/graph.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def __init__(
9494

9595
# Query the RDF document and create the objects
9696
self.software = self.load_software()
97-
(self.bundle, self.exporter, self.export_act, self.export_time) = (
97+
self.bundle, self.exporter, self.export_act, self.export_time = (
9898
self.load_bundle_export()
9999
)
100100
self.model_fittings = self.load_modelfitting()
@@ -192,10 +192,8 @@ def get_info(self):
192192
# nidm-results pack, this should
193193
# be stated explicitly in the spec?
194194
if len(self.model_fittings) > 1:
195-
raise Exception(
196-
"Can't handle NIDM-Results packs with \
197-
multiple model parameter estimation activities"
198-
)
195+
raise Exception("Can't handle NIDM-Results packs with \
196+
multiple model parameter estimation activities")
199197

200198
self.info["NeuroimagingAnalysisSoftware_type"] = self.software.name
201199
self.info["NeuroimagingAnalysisSoftware_softwareVersion"] = (

nidmresults/objects/constants_rdflib.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,8 @@
1616
SPM = Namespace("http://purl.org/nidash/spm#")
1717
FSL = Namespace("http://purl.org/nidash/fsl#")
1818
RDFS = Namespace("http://www.w3.org/2000/01/rdf-schema#")
19-
CRYPTO = Namespace(
20-
"http://id.loc.gov/vocabulary/preservation/\
21-
cryptographicHashFunctions#"
22-
)
19+
CRYPTO = Namespace("http://id.loc.gov/vocabulary/preservation/\
20+
cryptographicHashFunctions#")
2321
DC = Namespace("http://purl.org/dc/elements/1.1/")
2422
DCT = Namespace("http://purl.org/dc/terms/")
2523
OWL = Namespace("http://www.w3.org/2002/07/owl#")

nidmresults/test/utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
@author: Camille Maumet <c.m.j.maumet@warwick.ac.uk>, Satrajit Ghosh
77
@copyright: University of Warwick 2014
88
"""
9+
910
import glob
1011
import json
1112
import logging

test/test_reader.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
@author: Camille Maumet <c.m.j.maumet@warwick.ac.uk>
55
@copyright: University of Warwick 2013-2015
66
"""
7+
78
from __future__ import annotations
89

910
import os

0 commit comments

Comments
 (0)