From a1b265880d8c796dfda0ae187dbaf8e74f84af88 Mon Sep 17 00:00:00 2001 From: Sandro Date: Sat, 24 Feb 2024 16:15:24 +0100 Subject: [PATCH] Fix shebangs and file mode The module files are not stand alone scripts. Therefore the shebang is unjustified as well as the executable bit. --- trx/__init__.py | 0 trx/fetcher.py | 1 - trx/io.py | 1 - trx/streamlines_ops.py | 1 - trx/tests/test_io.py | 1 - trx/tests/test_memmap.py | 1 - trx/tests/test_streamlines_ops.py | 1 - trx/trx_file_memmap.py | 1 - trx/utils.py | 1 - trx/viz.py | 1 - trx/workflows.py | 1 - 11 files changed, 10 deletions(-) mode change 100755 => 100644 trx/__init__.py diff --git a/trx/__init__.py b/trx/__init__.py old mode 100755 new mode 100644 diff --git a/trx/fetcher.py b/trx/fetcher.py index 7fb73ac..469fb8a 100644 --- a/trx/fetcher.py +++ b/trx/fetcher.py @@ -1,4 +1,3 @@ -#! /usr/bin/env python3 # -*- coding: utf-8 -*- import hashlib diff --git a/trx/io.py b/trx/io.py index 97a6f23..e292778 100644 --- a/trx/io.py +++ b/trx/io.py @@ -1,4 +1,3 @@ -#! /usr/bin/env python3 # -*- coding: utf-8 -*- import os diff --git a/trx/streamlines_ops.py b/trx/streamlines_ops.py index 6057d2d..d8aa12a 100644 --- a/trx/streamlines_ops.py +++ b/trx/streamlines_ops.py @@ -1,4 +1,3 @@ -#! /usr/bin/env python3 # -*- coding: utf-8 -*- import itertools diff --git a/trx/tests/test_io.py b/trx/tests/test_io.py index b589da7..33d02bf 100644 --- a/trx/tests/test_io.py +++ b/trx/tests/test_io.py @@ -1,4 +1,3 @@ -#! /usr/bin/env python3 # -*- coding: utf-8 -*- from copy import deepcopy diff --git a/trx/tests/test_memmap.py b/trx/tests/test_memmap.py index 7ae189d..a671c08 100644 --- a/trx/tests/test_memmap.py +++ b/trx/tests/test_memmap.py @@ -1,4 +1,3 @@ -#! /usr/bin/env python3 # -*- coding: utf-8 -*- import os diff --git a/trx/tests/test_streamlines_ops.py b/trx/tests/test_streamlines_ops.py index 34032c1..3cd2678 100644 --- a/trx/tests/test_streamlines_ops.py +++ b/trx/tests/test_streamlines_ops.py @@ -1,4 +1,3 @@ -#! /usr/bin/env python3 # -*- coding: utf-8 -*- import numpy as np diff --git a/trx/trx_file_memmap.py b/trx/trx_file_memmap.py index ffecf94..0796b67 100644 --- a/trx/trx_file_memmap.py +++ b/trx/trx_file_memmap.py @@ -1,4 +1,3 @@ -#! /usr/bin/env python3 # -*- coding: utf-8 -*- from copy import deepcopy diff --git a/trx/utils.py b/trx/utils.py index 8c1051b..b58a2a2 100644 --- a/trx/utils.py +++ b/trx/utils.py @@ -1,4 +1,3 @@ -#! /usr/bin/env python3 # -*- coding: utf-8 -*- from nibabel.streamlines.tractogram import TractogramItem diff --git a/trx/viz.py b/trx/viz.py index f1f9d7d..d5afb9b 100644 --- a/trx/viz.py +++ b/trx/viz.py @@ -1,4 +1,3 @@ -#! /usr/bin/env python3 # -*- coding: utf-8 -*- import itertools diff --git a/trx/workflows.py b/trx/workflows.py index db9d72c..eaa85c5 100644 --- a/trx/workflows.py +++ b/trx/workflows.py @@ -1,4 +1,3 @@ -#! /usr/bin/env python3 # -*- coding: utf-8 -*- from copy import deepcopy