From 532c5e1b18fee9faa9de1c19c540c8a02b1001b5 Mon Sep 17 00:00:00 2001 From: Petter Reinholdtsen Date: Thu, 17 Jul 2025 08:15:36 +0200 Subject: [PATCH] Made python scripts runnable directly on Linux. Added execute bit and shebang line to start the python3 interpreter. --- spacevoxelviewer.py | 2 ++ voxelmotionviewer.py | 2 ++ 2 files changed, 4 insertions(+) mode change 100644 => 100755 spacevoxelviewer.py mode change 100644 => 100755 voxelmotionviewer.py diff --git a/spacevoxelviewer.py b/spacevoxelviewer.py old mode 100644 new mode 100755 index e287b79..f4a54c0 --- a/spacevoxelviewer.py +++ b/spacevoxelviewer.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python3 + import numpy as np import matplotlib.pyplot as plt from astropy.io import fits # For reading FITS files diff --git a/voxelmotionviewer.py b/voxelmotionviewer.py old mode 100644 new mode 100755 index 6abe4fb..fc7b026 --- a/voxelmotionviewer.py +++ b/voxelmotionviewer.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python3 + """ pyvista_interactive_view_with_rotation_history.py