From 5cd1112a3cf6606526ac8b8227043fd18d77737e Mon Sep 17 00:00:00 2001
From: Paul McCarthy <pauldmccarthy@gmail.com>
Date: Thu, 18 Oct 2018 15:10:14 +0100
Subject: [PATCH] MNT: Added back deprecated extract_noise script

---
 fsl/scripts/extract_noise.py | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 fsl/scripts/extract_noise.py

diff --git a/fsl/scripts/extract_noise.py b/fsl/scripts/extract_noise.py
new file mode 100644
index 000000000..68c10c605
--- /dev/null
+++ b/fsl/scripts/extract_noise.py
@@ -0,0 +1,17 @@
+#!/usr/bin/env python
+#
+# extract_noise.py - Deprecated - replaced by fsl_ents.py
+#
+# Author: Paul McCarthy <pauldmccarthy@gmail.com>
+#
+"""This module is deprecated - it has been replaced by :mod:`.fsl_ents`. """
+
+
+import sys
+
+
+if __name__ == '__main__':
+    print('extract_noise is deprecated and will be removed in fslpy 2.0. '
+          'Use fsl_ents instead.')
+    from fsl.scripts.fsl_ents import main
+    sys.exit(main())
-- 
GitLab