You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Have long paths, and very wide lines in editor, throughout the codebase, ex:
S = pangloss.Shearmap([PANGLOSS_DIR+'/data/GGL_los_8_0_0_N_4096_ang_4_rays_to_plane_37_f.gamma_1',PANGLOSS_DIR+'/data/GGL_los_8_0_0_N_4096_ang_4_rays_to_plane_37_f.gamma_2'],FITS=False)
Proposed Solution:
Write static python class that has methods that can (i) check whether files have been downloaded, (ii) downloads them, and (iii) has static variable for all the files. This will lead to a better user experience and only requires that the user has python.
The text was updated successfully, but these errors were encountered:
Good plan. I do this in my StatisticalMethods class all the time, you
shoudl be able to find starter code in the "examples" notebooks there, You
can also find it in the SLTimer project that I work on, in the
DarkEnergyScienceCollaboration GitHub repo.
Proposed Solution:
Write static python class that has methods that can (i) check whether
files have been downloaded, and (ii) downloads them. This will lead to a
better user experience and only requires that the user has python.
Problem:
S = pangloss.Shearmap([PANGLOSS_DIR+'/data/GGL_los_8_0_0_N_4096_ang_4_rays_to_plane_37_f.gamma_1',PANGLOSS_DIR+'/data/GGL_los_8_0_0_N_4096_ang_4_rays_to_plane_37_f.gamma_2'],FITS=False)
Proposed Solution:
Write static python class that has methods that can (i) check whether files have been downloaded, (ii) downloads them, and (iii) has static variable for all the files. This will lead to a better user experience and only requires that the user has python.
The text was updated successfully, but these errors were encountered: