iris-hep / func_adl_xAOD

Client interface to send a hierarchical SQL-like query to an xAOD backend
0 stars 5 forks source link

We should use the `gettempdir` not `tempdir` #212

Open gordonwatts opened 1 year ago

gordonwatts commented 1 year ago

https://github.com/iris-hep/func_adl_xAOD/blob/45cafb07f5b5bfe3575c4467d5bf54a8189f217b/func_adl_xAOD/common/local_dataset.py#L86

When this access is made, if it is the first in the app to access tempfile, then the tempdir will be none. Use the method gettempdir to see if it is null. Or just remove this assert which is a bit silly anyway.