Opened 2 weeks ago
Closed 2 weeks ago
#2831 closed defect (fixed)
FIX - wcst_import nested function is not evaluated properly in python list comprehension
Reported by: | Bang Pham Huu | Owned by: | Bang Pham Huu |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | wcst_import | Version: | 10.4 |
Keywords: | Cc: | Dimitar Misev | |
Complexity: | Medium |
Description
For example:
"directPositions": "[(datetime.strptime( regex_extract('${file:name}', '(.*)_(.*)_(.*)', 2), '%Y-%m-%d') + timedelta(days=x)).strftime(\"%Y-%m-%dT%H:%M\") for x in ${netcdf:variable:ansi}]",
here regex_extract
is not found from python's eval()
.
Note:
See TracTickets
for help on using tickets.