Skip to content

Commit

Permalink
Release update (#132)
Browse files Browse the repository at this point in the history
* Release update

* Expose a little more in main __init__
  • Loading branch information
dalmijn authored Oct 4, 2024
1 parent 83234c7 commit ce343ba
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 16 deletions.
13 changes: 5 additions & 8 deletions docs/changelog.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,13 @@
title: "What's new?"
---

## Unreleased
These are the unreleased changes of Delft-FIAT

### Added
## v0.1.1 (2024-10-04)
Small patch release.

### Changes

### Deprecated

### Documentation
- Bugfix regarding drivernotfound error in `GridSource`
- Fixed install from conda
- More functions and objects exposed directly under `fiat` -> e.g. `from fiat import open_grid`

## v0.1.0 (2024-10-03)
The first full release of Delft-FIAT.
Expand Down
8 changes: 2 additions & 6 deletions src/fiat/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,7 @@
osr.UseExceptions()

from .cfg import ConfigReader
from .io import open_csv, open_geom, open_grid
from .main import FIAT
from .models import GeomModel, GridModel
from .version import __version__

# if not importlib.util.find_spec("PySide2"):
# warnings.warn("PySide2 is not installed in \
# this environment -> ui is not callable")
# else:
# from .gui import *
2 changes: 1 addition & 1 deletion src/fiat/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -1331,7 +1331,7 @@ def __init__(
_BaseIO.__init__(self, file, mode)

if self.path.suffix not in GRID_DRIVER_MAP:
raise DriverNotFoundError("")
raise DriverNotFoundError(gog="Grid", path=self.path)

driver = GRID_DRIVER_MAP[self.path.suffix]

Expand Down
2 changes: 1 addition & 1 deletion src/fiat/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
major = 1
minor = 1
build = 0
suffix = ".dev"
suffix = ""

__version__ = f"{main}.{major}.{minor}{suffix}"

0 comments on commit ce343ba

Please sign in to comment.