From a1d311f2aefb7bbb6ac4527f23455a8b8badbd64 Mon Sep 17 00:00:00 2001
From: Dimitri Papadopoulos
 <3234522+DimitriPapadopoulos@users.noreply.github.com>
Date: Sun, 22 Sep 2024 14:23:10 +0200
Subject: [PATCH] STY: Apply ruff/Pyflakes rule F901

F901 `raise NotImplemented` should be `raise NotImplementedError`
---
 nipype/interfaces/minc/minc.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/nipype/interfaces/minc/minc.py b/nipype/interfaces/minc/minc.py
index dbcc1313f8..bf80e23732 100644
--- a/nipype/interfaces/minc/minc.py
+++ b/nipype/interfaces/minc/minc.py
@@ -3403,7 +3403,7 @@ def _gen_filename(self, name):
                     + ".xfm"
                 )
         else:
-            raise NotImplemented
+            raise NotImplementedError
 
     def _list_outputs(self):
         outputs = self.output_spec().get()
@@ -3502,7 +3502,7 @@ def _gen_filename(self, name):
                     + ".xfm"
                 )
         else:
-            raise NotImplemented
+            raise NotImplementedError
 
     def _gen_outfilename(self):
         return self._gen_filename("output_file")
@@ -3573,7 +3573,7 @@ def _gen_filename(self, name):
                     + ".xfm"
                 )
         else:
-            raise NotImplemented
+            raise NotImplementedError
 
     def _gen_outfilename(self):
         return self._gen_filename("output_file")