Code Monkey home page Code Monkey logo

crue10_tools's Introduction

Crue10 tools

Python package Documentation Status

Versions Python compatibles : 2.7 (plus testé), 3.7, 3.8, 3.9, 3.10, 3.11 et 3.12.

Outil pour manipuler des modèles 1D au format Crue10 (code de calcul, propriétée de CNR).

Crue10 API - Parseur de fichiers

Scripts en ligne de commande

Voir les pages wiki pour savoir comment utiliser ces outils.

Tests unitaires

Le lancement des tests unitaires (présents dans crue10/tests) se fait avec la commande :

python -m unittest

Liste des tests unitaires par classes principales :

  • Etude => test_end_to_end.py, test_file_xsd_validation.py
  • Scenario => test_scenario.py
  • Modele => test_modele.py
  • SousModele => test_sous_modele.py
  • EMH
    • branches => test_emh_branche.py
    • casiers => test_emh_casier.py
    • noeuds => test_emh_noeud.py
    • sections => test_emh_section.py
  • Run => test_run.py
  • ResultatsCalcul => test_resultats_calcul.py

Les tests unitaires sont vérifiés à chaque push grâce à un workflow Github et peuvent être déclenchés manuellement si besoin. La coche verte ou la croix rouge à côté du commit permet de savoir rapidement s'ils se sont bien passés.

Remarque : les tests unitaires sont débranchés pour la version Python 2.7. Pour les lancer, il faut utiliser la commande python -m unittest discover.

crue10_tools's People

Contributors

badibosspy avatar lucduron avatar nabilbensalem avatar pierrebalayn avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

crue10_tools's Issues

get_liste_sections modifier l'argument section_type

Changer l'argument section_type en texte et non en objet Section si possible.

Solution actuelle :
sm.get_liste_sections(section_type=section.SectionProfil)

Solution souhaitée :
sm.get_liste_sections(section_type="SectionProfil")

Grammaire XML v1.3

  1. Introduire la notion de grammaire dans les études, scénarios, modèles et sous-modèles
  2. Distinguer les grammaires v1.2 et v1.3
  3. Ajouter une méthode pour changer de grammaire

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.