Benjamin F. Maier
Benjamin F. Maier
Hi, thanks for the contribution! I don't have time to check this properly atm, but the following things need to be done before merging is possible 1. please do not...
not sure what I meant with this anymore
In version 0.4.2 (installed from this repo, **not** pip, see #12): ```python In [13]: strconv.infer('2017-01-01 00:00:00') Out[13]: 'datetime' ```
install from this repo rather than pip, both code bases have the same version tag but give different results, see #12
Source of problem: https://github.com/tomduck/pandoc-xnos/issues/28
In version 0.4.2 (installed from this repo, **not** PyPI, see #12): ```python In [15]: strconv.convert('') Out[15]: '' In [16]: strconv.infer('') is None Out[16]: True ```
Did anyone just try changing the regex here: https://github.com/tomduck/pandoc-xnos/blob/master/pandocxnos/core.py#L174 yet? Curious if the rest of the code would just transfer to 3.0 easily
replacing the aforementioned line with ```python pattern = re.compile(r'^[1-3]\.[0-9]+(?:\.[0-9]+)?(?:\.[0-9]+)?$') ``` works at least as much as that the CLI runs without raising errors. As my specific use case doesn't seem...
that's for later
for instance for a gray-scott model, see cookbook