Skip to content

Commit

Permalink
fix ci: move import telemac in TELEMACResult data class
Browse files Browse the repository at this point in the history
  • Loading branch information
tomsail committed Sep 14, 2024
1 parent 42a05cc commit 2645e7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyposeidon/utils/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@
from pyposeidon.mesh import r2d
import pyposeidon.model as pm
from pyposeidon.tools import flat_list
from pyposeidon.telemac import extract_t_elev_2D
import xarray as xr
xarray as xr
import glob
import logging
import json
Expand Down Expand Up @@ -215,6 +214,7 @@ def __init__(self, **kwargs):
1. there are 1D AND 2D results, they need to be addressed separately
2. selafin are readable directly in xarray, so we can skip the conversion step
"""
from pyposeidon.telemac import extract_t_elev_2D
rpath = kwargs.get("rpath", "./telemac/")
res_type = kwargs.get("result_type", "2D")
convert = kwargs.get("convert_results", True)
Expand Down

0 comments on commit 2645e7f

Please sign in to comment.