-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing file argument in Focalplane constructor #546
Comments
Not a bug, just a different design. Now you instantiate the focalplane and use the load_hdf5() method. For an example, see toast_sim_ground. |
Although the design is intentional, @giuspugl is correct that the docstring was stale. I just fixed that in the branch where I am working on the documentation. The reasoning behind the design choice was that it was too easy to accidentally open the same HDF5 file from multiple processes causing file contention. I was trying to make the user decide what they really wanted to do by opening the file and calling the |
Thanks @keskitalo and @tskisner for reviewing this issue! I am fine with calling |
Ok, good point. I will include an example in the docstring. Will leave this open until that is fixed. |
the latest toast3 version is missing a file argument in case we want to provide a focalplane file , althouhg it is expected to be there from the docstring . see
toast/src/toast/instrument.py
Line 441 in 60bcff2
is it just a bug ?
The text was updated successfully, but these errors were encountered: