mirror of https://gitlab.com/pamhyr/pamhyr2
Compare commits
No commits in common. "a97717a624b4fac8d9b00aa21b3b23770564c2ad" and "a4423e45f88e5e438983821f88015d8fd12f6326" have entirely different histories.
a97717a624
...
a4423e45f8
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue