Compare commits

..

No commits in common. "a97717a624b4fac8d9b00aa21b3b23770564c2ad" and "a4423e45f88e5e438983821f88015d8fd12f6326" have entirely different histories.

3 changed files with 7 additions and 9 deletions

View File

@ -292,7 +292,7 @@ build-linux:
- pip3 install -r ../requirements.txt
- pip3 install -U -r ../requirements.txt
# Run Pyinstaller
- pyinstaller -y --hiddenimport rasterio --paths linux-venv/lib/python3.8/site-packages ../src/pamhyr.py
- pyinstaller -y --paths linux-venv/lib/python3.8/site-packages ../src/pamhyr.py
# Create directory
- mkdir -p pamhyr
- mkdir -p pamhyr/_internal

View File

@ -22,8 +22,7 @@ import logging
try:
import rasterio
_rasterio_loaded = True
except Exception as e:
print("Module 'rasterio' is not available")
except:
_rasterio_loaded = False
from numpy import sqrt

View File

@ -186,7 +186,6 @@ class PamhyrWindow(ASubMainWindow, ListedSubWindow, PamhyrWindowTools):
def _set_title(self):
title = self._title
if self._study is not None:
if self._study.is_read_only():
title = "" + title