LSSTDESC / rail

Top level "umbrella" package for RAIL
MIT License
8 stars 3 forks source link

Need to import `os` in Useful_Utilities.ipynb #126

Closed drewoldag closed 6 months ago

drewoldag commented 6 months ago

There have been a few CI failures over the past few days. Example: https://github.com/LSSTDESC/rail/actions/runs/8431939182/job/23090165387 With the error message:

---------------------------------------------------------------------------
NameError                                 Traceback (most recent call last)
Cell In[12], line 3
      1 from rail.core.utils import RAILDIR
----> 3 flow_file = os.path.join(
      4     RAILDIR, "rail/examples_data/goldenspike_data/data/pretrained_flow.pkl"
      5 )

NameError: name 'os' is not defined

There is a simple fix, though it's not clear why this suddenly started failing.