slaclab / psgeom

code for representing the geometry of scattering experiments
Other
2 stars 3 forks source link

Example code in README not up to date #44

Closed valmar closed 4 years ago

valmar commented 4 years ago

The example in the README reads:

bg = geom.to_basisgrid() for g in bg.num_grids: print(bg.get_grid(g)

But it should be:

bg = geom.to_basisgrid() for g in range(bg.num_grids): print(bg.get_grid(g)

valmar commented 4 years ago

@tjlane I will go ahead and fix this myself