-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Workflows without poetry #71
Conversation
docs/blob_shapes.rst
Outdated
The blob shape consists of two parts, the blob shape in the propagation direction and the blob shape in the perpendicular direction thereof. | ||
The propagation direction is calculated from vx and vy of each individual blob (see :ref:`blob-alignment` for further details). | ||
|
||
The blob shape in the perpendicular direction is always set to "gauss", whereas you can choose one of the following blob shapes for the propagation direction: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The blob shape in the perp direction can also be set to any shape, "gauss" is just the default.
tests/test_blob.py
Outdated
blob_factory=bf, | ||
) | ||
_ = one_blob.make_realization() | ||
_ = one_blob.get_blobs() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this just to cover some lines of code? Add some asserts (feks, number of blobs or any other thing that is constant)
It turns out that the mypy check were wrongly passing for moths. A number of type checking issues have been accumulated in the last months. This PR fixes these issues and sets up the workflows without poetry.
I also recreated the pyproject.toml file since the old one was created by poetry.
Also a few more tests are added.
I also added a new (and hopefully better) Readme to the repo.
The created docs are on readthedocs:
https://blobmodel.readthedocs.io/en/latest/