Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
# Flow360

![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/flexcompute/Flow360/pypi-publish.yml)
![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/flexcompute/flow360/test.yml?label=tests)
[![PyPI version shields.io](https://img.shields.io/pypi/v/Flow360)](https://pypi.python.org/pypi/flow360/)

![](https://raw.githubusercontent.com/flexcompute/Flow360/main/img/Flow360-logo.svg)


# How to use Flow360 python client

## install
Expand All @@ -19,13 +28,13 @@ You can set your *api-key* by the following methods:
# Development
## setup
0. clone repo
1. Install poetry
1. Install poetry ``pip install poetry``
2. Install dependencies: ``poetry install``

## run examples
``poetry run python examples/case_results.py``

## check in
1. ``poetry run pytest``
1. ``poetry run pytest -rA``
2. ``black .``
3. ``pylint flow360 --rcfile .pylintrc``
1 change: 1 addition & 0 deletions flow360/component/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"""
import uuid


# pylint: disable=redefined-builtin
def is_valid_uuid(id, ignore_none=False):
"""
Expand Down
1 change: 0 additions & 1 deletion flow360/component/volume_mesh.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,6 @@ def get_boundaries_from_file(cgns_file: str, solver_version: str = None):
if section.attrs["label"].decode() != "ZoneBC_t":
continue
for bc_name, bc_zone in section.items():

if bc_zone.attrs["label"].decode() == "BC_t":
names.append(f"{zone_name}/{bc_name}")

Expand Down
157 changes: 157 additions & 0 deletions img/Flow360-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.