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

feat(outputs): build outputs tree based on filesystem #2064

Merged
merged 20 commits into from
Jun 25, 2024

Conversation

MartinBelthle
Copy link
Contributor

@MartinBelthle MartinBelthle commented Jun 12, 2024

Solves [ANT-1306]

@MartinBelthle MartinBelthle self-assigned this Jun 12, 2024
@MartinBelthle MartinBelthle changed the title feat(outputs): build outputs mc-all and mc-ind trees based on filesystem feat(outputs): build outputs tree based on filesystem Jun 12, 2024
@makdeuneuv makdeuneuv added this to the v2.17.2 milestone Jun 17, 2024
Copy link
Contributor

@laurent-laporte-pro laurent-laporte-pro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Quelques petits ajustements à faire, notamment pour documenter.

Copy link
Contributor

@laurent-laporte-pro laurent-laporte-pro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Merci pour ce refactoring.

Une observation : à présent que la vérification de l’existence des fichiers et dossiers de sortie est effectuée, j'espère que cela ne ralentira pas le parsing d'une étude. Il est possible qu'on observe une dégradation des performances à l'ouverture d'une étude. Cela dit, si ça évite des anomalies côté utilisateur, c'est toujours bon à prendre.

@@ -56,17 +56,18 @@ def build(self) -> TREE:

class OutputSimulationTsGenerator(FolderNode):
def build(self) -> TREE:
children: TREE = {
"hydro": OutputSimulationTsGeneratorCustomMatrixList(
children: TREE = {}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cette partie du code n'est pas couverte pas les tests unitaires.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe it's because the ts-generator part is not supported yet in AntaresWeb.

@laurent-laporte-pro laurent-laporte-pro force-pushed the feat/build-outputs-based-on-filesystem branch from f9dce4f to 31b69d7 Compare June 17, 2024 21:55
@MartinBelthle MartinBelthle force-pushed the feat/build-outputs-based-on-filesystem branch 2 times, most recently from c71ff8d to d7c0918 Compare June 18, 2024 12:12
@MartinBelthle MartinBelthle force-pushed the feat/build-outputs-based-on-filesystem branch from 8db4c20 to 58cdeeb Compare June 18, 2024 14:48
@laurent-laporte-pro laurent-laporte-pro modified the milestones: v2.17.2, v2.17.3 Jun 19, 2024
@laurent-laporte-pro laurent-laporte-pro force-pushed the feat/build-outputs-based-on-filesystem branch from cb37c6e to f11baf7 Compare June 25, 2024 11:48
@laurent-laporte-pro laurent-laporte-pro merged commit b6d778d into dev Jun 25, 2024
7 checks passed
@laurent-laporte-pro laurent-laporte-pro deleted the feat/build-outputs-based-on-filesystem branch June 25, 2024 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants