Skip to content
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

Merged
merged 143 commits into from
Jul 21, 2023
Merged

Workflows without poetry #71

merged 143 commits into from
Jul 21, 2023

Conversation

gregordecristoforo
Copy link
Member

@gregordecristoforo gregordecristoforo commented Jul 12, 2023

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/

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:
Copy link
Member

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.

blob_factory=bf,
)
_ = one_blob.make_realization()
_ = one_blob.get_blobs()
Copy link
Member

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)

@gregordecristoforo gregordecristoforo merged commit a5c4a48 into main Jul 21, 2023
@gregordecristoforo gregordecristoforo deleted the add_tests branch July 21, 2023 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants