Skip to content

ENH: x13.py option for location of temporary files - #8564

Merged
josef-pkt merged 1 commit into
statsmodels:mainfrom
josef-pkt:x13_tempdir
Dec 8, 2022
Merged

josef-pkt merged 1 commit into
statsmodels:mainfrom
josef-pkt:x13_tempdir

Conversation

@josef-pkt

Copy link
Copy Markdown
Member

closes #8301
updated version
rebased and amended with changes suggested by Kevin

@josef-pkt

Copy link
Copy Markdown
Member Author

not tested on my computer, I currently don't have x13 installed

@josef-pkt josef-pkt added this to the 0.14 milestone Dec 7, 2022
@josef-pkt josef-pkt mentioned this pull request Dec 7, 2022
4 tasks
Comment thread statsmodels/tsa/x13.py Fixed
Comment thread statsmodels/tsa/x13.py Fixed
@josef-pkt

Copy link
Copy Markdown
Member Author

ok, codeql found some editing mistakes I made
However, azur testing does not include x13 testing. Only failure is the usual statsmodels/tsa/statespace/tests/test_dynamic_factor.py::TestDynamicFactor_ar2_errors::test_mle

@josef-pkt

josef-pkt commented Dec 8, 2022 •

Copy link
Copy Markdown
Member Author

I installed x13 and tested locally.
It works, but tempdir needs to exist, and is not created if it doesn't exist.
raises file not found error if temdir doesn't exist

unit tests in test_x13.py are pretty skinny.

aside
I can run pytest for test_x13.py after setting the environment variable in the cmd shell (Windows 11, winpython cmd)
>set X13PATH=<directory path for x13as>

bug amended and force pushed

@josef-pkt

Copy link
Copy Markdown
Member Author

unrelated failure

merging

@josef-pkt
josef-pkt merged commit c9efecd into statsmodels:main Dec 8, 2022
@josef-pkt
josef-pkt deleted the x13_tempdir branch December 8, 2022 16:05
@josef-pkt josef-pkt mentioned this pull request Dec 8, 2022
16 of 20 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants